mirror of
https://git.zap.org.au/git/trader.git
synced 2024-12-04 14:46:45 -05:00
Use the Gnulib extensions module to define _GNU_SOURCE and __EXTENSIONS__
This commit is contained in:
parent
d35abf787a
commit
e578802ac6
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user