Remove warnings on Linux with glibc 2.20

This commit is contained in:
Ulrich Wilkens
2015-05-09 16:23:05 -06:00
committed by Jon Trulson
parent 8b38d9ea49
commit c7781f434b
+2 -2
View File
@@ -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