| 1 |
#ifndef ULIB__UUID_H |
| 2 |
#define ULIB__UUID_H |
| 3 |
|
| 4 |
/* Enable extensions on AIX 3, Interix. */ |
| 5 |
#ifndef _ALL_SOURCE |
| 6 |
# undef _ALL_SOURCE |
| 7 |
#endif |
| 8 |
/* Enable general extensions on macOS. */ |
| 9 |
#ifndef _DARWIN_C_SOURCE |
| 10 |
# undef _DARWIN_C_SOURCE |
| 11 |
#endif |
| 12 |
/* Enable general extensions on Solaris. */ |
| 13 |
#ifndef __EXTENSIONS__ |
| 14 |
# undef __EXTENSIONS__ |
| 15 |
#endif |
| 16 |
/* Enable GNU extensions on systems that have them. */ |
| 17 |
#ifndef _GNU_SOURCE |
| 18 |
# undef _GNU_SOURCE |
| 19 |
#endif |
| 20 |
/* Enable X/Open compliant socket functions that do not require linking |
| 21 |
with -lxnet on HP-UX 11.11. */ |
| 22 |
#ifndef _HPUX_ALT_XOPEN_SOCKET_API |
| 23 |
# undef _HPUX_ALT_XOPEN_SOCKET_API |
| 24 |
#endif |
| 25 |
/* Identify the host operating system as Minix. |
| 26 |
This macro does not affect the system headers' behavior. |
| 27 |
A future release of Autoconf may stop defining this macro. */ |
| 28 |
#ifndef _MINIX |
| 29 |
# undef _MINIX |
| 30 |
#endif |
| 31 |
/* Enable general extensions on NetBSD. |
| 32 |
Enable NetBSD compatibility extensions on Minix. */ |
| 33 |
#ifndef _NETBSD_SOURCE |
| 34 |
# undef _NETBSD_SOURCE |
| 35 |
#endif |
| 36 |
/* Enable OpenBSD compatibility extensions on NetBSD. |
| 37 |
Oddly enough, this does nothing on OpenBSD. */ |
| 38 |
#ifndef _OPENBSD_SOURCE |
| 39 |
# undef _OPENBSD_SOURCE |
| 40 |
#endif |
| 41 |
/* Define to 1 if needed for POSIX-compatible behavior. */ |
| 42 |
#ifndef _POSIX_SOURCE |
| 43 |
# undef _POSIX_SOURCE |
| 44 |
#endif |
| 45 |
/* Define to 2 if needed for POSIX-compatible behavior. */ |
| 46 |
#ifndef _POSIX_1_SOURCE |
| 47 |
# undef _POSIX_1_SOURCE |
| 48 |
#endif |
| 49 |
/* Enable POSIX-compatible threading on Solaris. */ |
| 50 |
#ifndef _POSIX_PTHREAD_SEMANTICS |
| 51 |
# undef _POSIX_PTHREAD_SEMANTICS |
| 52 |
#endif |
| 53 |
/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ |
| 54 |
#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ |
| 55 |
# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ |
| 56 |
#endif |
| 57 |
/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ |
| 58 |
#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ |
| 59 |
# undef __STDC_WANT_IEC_60559_BFP_EXT__ |
| 60 |
#endif |
| 61 |
/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ |
| 62 |
#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ |
| 63 |
# undef __STDC_WANT_IEC_60559_DFP_EXT__ |
| 64 |
#endif |
| 65 |
/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ |
| 66 |
#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ |
| 67 |
# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ |
| 68 |
#endif |
| 69 |
/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ |
| 70 |
#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ |
| 71 |
# undef __STDC_WANT_IEC_60559_TYPES_EXT__ |
| 72 |
#endif |
| 73 |
/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ |
| 74 |
#ifndef __STDC_WANT_LIB_EXT2__ |
| 75 |
# undef __STDC_WANT_LIB_EXT2__ |
| 76 |
#endif |
| 77 |
/* Enable extensions specified by ISO/IEC 24747:2009. */ |
| 78 |
#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ |
| 79 |
# undef __STDC_WANT_MATH_SPEC_FUNCS__ |
| 80 |
#endif |
| 81 |
/* Enable extensions on HP NonStop. */ |
| 82 |
#ifndef _TANDEM_SOURCE |
| 83 |
# undef _TANDEM_SOURCE |
| 84 |
#endif |
| 85 |
/* Enable X/Open extensions. Define to 500 only if necessary |
| 86 |
to make mbstate_t available. */ |
| 87 |
#ifndef _XOPEN_SOURCE |
| 88 |
# undef _XOPEN_SOURCE |
| 89 |
#endif |
| 90 |
|
| 91 |
|
| 92 |
#define PERL_NO_GET_CONTEXT |
| 93 |
#include "ulib/EUMM.h" |
| 94 |
#include "EXTERN.h" |
| 95 |
#include "perl.h" |
| 96 |
#include "ulib/TYPE.h" |
| 97 |
#include "ulib/PORT.h" |
| 98 |
#include "ulib/UMTX.h" |
| 99 |
|
| 100 |
#endif |
| 101 |
/* ex:set ts=2 sw=2 itab=spaces: */ |