aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/config/cf/linux.cf
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-06-23 20:52:27 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-07-01 13:44:06 +0200
commitda4410cce0db611abac8bc24db5672ea88f089a6 (patch)
treec294fac2878e77689b4c025c95d4c0cbeb293236 /nx-X11/config/cf/linux.cf
parent4693c32031d72929dcc86eb1e98c3fbf1b04e066 (diff)
downloadnx-libs-da4410cce0db611abac8bc24db5672ea88f089a6.tar.gz
nx-libs-da4410cce0db611abac8bc24db5672ea88f089a6.tar.bz2
nx-libs-da4410cce0db611abac8bc24db5672ea88f089a6.zip
build flags: Use -D_DEFAULT_SOURCE instead of deprecated -D_BSD_SOURCE and -D_SVID_SOURCE.
Note: This breaks building on ancient Linux distro versions, e.g. Ubuntu 10.04 LTS. For details see: http://man7.org/tlpi/code/faq.html#use_default_source
Diffstat (limited to 'nx-X11/config/cf/linux.cf')
-rw-r--r--nx-X11/config/cf/linux.cf2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/config/cf/linux.cf b/nx-X11/config/cf/linux.cf
index 3ff1f5b7d..1caffce8a 100644
--- a/nx-X11/config/cf/linux.cf
+++ b/nx-X11/config/cf/linux.cf
@@ -199,7 +199,7 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion)
#if LinuxCLibMajorVersion >= 6
# define LinuxSourceDefines -D_POSIX_C_SOURCE=199309L \
-D_POSIX_SOURCE -D_XOPEN_SOURCE \
- -D_BSD_SOURCE -D_SVID_SOURCE \
+ -D_DEFAULT_SOURCE \
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
LinuxAdditionalIncludes LinuxGnuSourceDefines \
LinuxLocaleDefines