Remove warnings on Linux with glibc 2.20
This commit is contained in:
committed by
Jon Trulson
parent
8b38d9ea49
commit
c7781f434b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user