From: beware Date: Sun, 30 Mar 2008 00:27:58 +0000 (+0000) Subject: added lcoreconfig.inc X-Git-Url: http://www.lcore.org/git/lcore.git/commitdiff_plain/486d5bd497cb900dbab14be07271c47dc1969645 added lcoreconfig.inc git-svn-id: file:///svnroot/lcore/trunk@4 b1de8a11-f9be-4011-bde0-cc7ace90066a --- diff --git a/lcoreconfig.inc b/lcoreconfig.inc new file mode 100644 index 0000000..89d299e --- /dev/null +++ b/lcoreconfig.inc @@ -0,0 +1,14 @@ +{this enables the entire ipv6 functionality - resolving, connecting, etc +this is enabled by default to make all apps using lcore automatically ipv6 aware. +to disable, undefine it here, or define "noipv6" in the app} + +{$ifndef noipv6} +{$define ipv6} +{$endif} + +{there are 2 ways to use DNS in lcore: dnscore, which an entire built in DNS client, and getaddrinfo. +dnscore is always included on *nix to avoid libc dependency problems, but getaddrinfo is used on windows. +when getaddrinfo is used, there is no reason to include dnscore, and it increases the exe size, +unless you want to use custom nameserver addresses. enable this setting to always include it.} + +{-$define syncdnscore}