OK, that doesn't work; on Solaris, try _XOPEN_SOURCE=500, to request

SUSv2, and see if *that* makes the build work.

svn path=/trunk/; revision=42010
This commit is contained in:
Guy Harris 2012-04-10 17:56:55 +00:00
parent e0e5b02bca
commit be2bbb5ecd
1 changed files with 4 additions and 2 deletions

View File

@ -88,8 +88,10 @@
# define __USE_XOPEN
#endif
#ifndef _XOPEN_SOURCE
# ifndef __solaris__
# define _XOPEN_SOURCE 600
# ifdef __solaris__
# define _XOPEN_SOURCE 500 /* 500, for SUSv2; SUSv3 requires c99 */
# else
# define _XOPEN_SOURCE 600 /* 600, for SUSv3 */
# endif
#endif