1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

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