Description: Replace _BSD_SOURCE and _SVID_SOURCE by _DEFAULT_SOURCE Warnings say "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE". Forwarded: no Author: Sven Geuer Last-Update: 2020-06-12 --- a/Xvnc/config/cf/linux.cf +++ b/Xvnc/config/cf/linux.cf @@ -94,7 +94,7 @@ (LinuxCLibMajorVersion == 5 && LinuxCLibMinorVersion == 99) #define LinuxSourceDefines -D_POSIX_C_SOURCE=199309L \ -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L \ - -D_BSD_SOURCE -D_SVID_SOURCE + -D_DEFAULT_SOURCE #define XawI18nDefines -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H #if !defined(AlphaArchitecture) #define HasPosixThreads YES @@ -108,7 +108,7 @@ #endif #else #define LinuxSourceDefines -D_POSIX_SOURCE \ - -D_BSD_SOURCE -D_SVID_SOURCE -DX_LOCALE + -D_DEFAULT_SOURCE -DX_LOCALE #define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC #ifndef HasLibCrypt #define HasLibCrypt NO