1 --- source/common/putil.c
2 +++ source/common/putil.c
4 ******************************************************************************
7 -/* Define _XOPEN_SOURCE for Solaris and friends. */
8 -/* NetBSD needs it to be >= 4 */
9 -#if !defined(_XOPEN_SOURCE)
10 -#if __STDC_VERSION__ >= 199901L
11 -/* It is invalid to compile an XPG3, XPG4, XPG4v2 or XPG5 application using c99 on Solaris */
12 -#define _XOPEN_SOURCE 600
13 +/* Define _XOPEN_SOURCE for access to POSIX functions. */
15 + /* Use the predefined value. */
17 -#define _XOPEN_SOURCE 4
21 + * The Open Group Base Specifications Issue 6 (IEEE Std 1003.1, 2004 Edition)
23 + * SUSv3 = Open Group Single UNIX Specification, Version 3 (UNIX03)
25 +# define _XOPEN_SOURCE 600
28 /* Make sure things like readlink and such functions work.