1 $NetBSD: patch-common_uposixdefs.h,v 1.2 2014/07/18 10:28:11 ryoon Exp $
3 --- a/source/common/uposixdefs.h.orig 2013-10-04 20:49:24.000000000 +0000
4 +++ b/source/common/uposixdefs.h
6 * and define _XOPEN_SOURCE to different values depending on __STDC_VERSION__.
7 * In C++ source code (e.g., putil.cpp), __STDC_VERSION__ is not defined at all.
10 # define _XOPEN_SOURCE 600
15 * Make sure things like readlink and such functions work.
18 * z/OS needs this definition for timeval and to get usleep.
20 +#if !defined(__sun) && !defined(_SCO_DS)
21 #if !defined(_XOPEN_SOURCE_EXTENDED)
22 # define _XOPEN_SOURCE_EXTENDED 1
27 * There is an issue with turning on _XOPEN_SOURCE_EXTENDED on certain platforms.