mirror of
https://git.zap.org.au/git/trader.git
synced 2024-09-01 17:14:15 -04:00
Define _XOPEN_SOURCE correctly for Solaris systems
This commit is contained in:
parent
de6f113d12
commit
2d6a339fb1
@ -45,7 +45,12 @@
|
||||
|
||||
#if ! defined(_XOPEN_SOURCE) || _XOPEN_SOURCE < 700
|
||||
# undef _XOPEN_SOURCE
|
||||
# if ! defined(__sun__)
|
||||
# define _XOPEN_SOURCE 700 // Use SUSv4 where possible
|
||||
# else
|
||||
# define _XOPEN_SOURCE 600 // Except on SunOS 5.x
|
||||
# define __EXTENSIONS__ 1 // ... but use Solaris extensions
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define _GNU_SOURCE 1 // Use GNU extensions as well
|
||||
|
Loading…
Reference in New Issue
Block a user