aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/config/cf/cross.def
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/cross.def
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/cross.def')
-rw-r--r--nx-X11/config/cf/cross.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/config/cf/cross.def b/nx-X11/config/cf/cross.def
index 9f71091f5..74ca2de96 100644
--- a/nx-X11/config/cf/cross.def
+++ b/nx-X11/config/cf/cross.def
@@ -14,7 +14,7 @@
#define ServerCDebugFlags -O2
#undef StandardDefines
#define StandardDefines -Dlinux -D__arm__ -D_POSIX_SOURCE \
- -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
+ -D_DEFAULT_SOURCE -D_GNU_SOURCE -DX_LOCALE
#undef CcCmd
#define StdIncDir /opt/Embedix/tools/arm-linux/include
#define PreIncDir