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:
parent
8b38d9ea49
commit
c7781f434b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue