From: Ulrich Wilkens Date: Fri, 8 May 2015 22:39:05 +0000 (+0200) Subject: Remove warnings on Linux with glibc 2.20 X-Git-Tag: 2.2.3~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c7781f434b9b6686975a14c6fda483929ae8e640;p=oweals%2Fcde.git Remove warnings on Linux with glibc 2.20 --- diff --git a/cde/config/cf/linux.cf b/cde/config/cf/linux.cf index 858627ed..6d22a79a 100644 --- a/cde/config/cf/linux.cf +++ b/cde/config/cf/linux.cf @@ -161,14 +161,14 @@ TIRPCLIB = #endif #if LinuxCLibMajorVersion < 6 -# define LinuxSourceDefines -D_POSIX_SOURCE \ +# define LinuxSourceDefines -D_POSIX_SOURCE -D_DEFAULT_SOURCE \ -D_BSD_SOURCE -D_SVID_SOURCE LinuxLocaleDefines # ifndef HasLibCrypt # define HasLibCrypt NO # endif #else -# define LinuxSourceDefines -D_POSIX_SOURCE \ +# define LinuxSourceDefines -D_POSIX_SOURCE -D_DEFAULT_SOURCE \ -D_BSD_SOURCE -D_SVID_SOURCE \ -D__NO_STRING_INLINES -D__NO_MATH_INLINES \ LinuxLocaleDefines