1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-11-03 17:27:29 -05:00

Use the Gnulib extensions module to define _GNU_SOURCE and __EXTENSIONS__

This commit is contained in:
John Zaitseff 2018-08-09 14:11:38 +10:00
parent d35abf787a
commit e578802ac6
2 changed files with 2 additions and 3 deletions

View File

@ -41,6 +41,7 @@
# btowc \
# config-h \
# crc \
# extensions \
# getopt-gnu \
# gettext-h \
# gettimeofday \
@ -69,6 +70,7 @@ gl_MODULES([
btowc
config-h
crc
extensions
getopt-gnu
gettext-h
gettimeofday

View File

@ -47,14 +47,11 @@
# undef _XOPEN_SOURCE
# if defined(__sun) && defined(__SVR4)
# define _XOPEN_SOURCE 600 // Use SUSv3 on SunOS 5.x
# define __EXTENSIONS__ 1 // ... with Solaris extensions
# else
# define _XOPEN_SOURCE 700 // Use SUSv4 everywhere else
# endif
#endif
#define _GNU_SOURCE 1 // Use GNU extensions as well
// Headers defined by ISO/IEC 9899:1999 (C99)