Remove warnings on Linux with glibc 2.20

This commit is contained in:
Ulrich Wilkens
2015-05-09 00:39:05 +02:00
committed by Jon Trulson
parent 8b38d9ea49
commit c7781f434b

View File

@@ -161,14 +161,14 @@ TIRPCLIB =
#endif #endif
#if LinuxCLibMajorVersion < 6 #if LinuxCLibMajorVersion < 6
# define LinuxSourceDefines -D_POSIX_SOURCE \ # define LinuxSourceDefines -D_POSIX_SOURCE -D_DEFAULT_SOURCE \
-D_BSD_SOURCE -D_SVID_SOURCE LinuxLocaleDefines -D_BSD_SOURCE -D_SVID_SOURCE LinuxLocaleDefines
# ifndef HasLibCrypt # ifndef HasLibCrypt
# define HasLibCrypt NO # define HasLibCrypt NO
# endif # endif
#else #else
# define LinuxSourceDefines -D_POSIX_SOURCE \ # define LinuxSourceDefines -D_POSIX_SOURCE -D_DEFAULT_SOURCE \
-D_BSD_SOURCE -D_SVID_SOURCE \ -D_BSD_SOURCE -D_SVID_SOURCE \
-D__NO_STRING_INLINES -D__NO_MATH_INLINES \ -D__NO_STRING_INLINES -D__NO_MATH_INLINES \
LinuxLocaleDefines LinuxLocaleDefines