1 /*
2  * BEGIN illumos section
3  *   This is an unstable interface; changes may be made
4  *   without notice.
5  * END illumos section
6  */
7 /***********************************************************************
8 *                                                                      *
9 *               This software is part of the ast package               *
10 *          Copyright (c) 1985-2025 AT&T Intellectual Property          *
11 *                         All Rights Reserved                          *
12 *       This software is licensed by AT&T Intellectual Property        *
13 *           under the terms and conditions of the license in           *
14 *          http://www.eclipse.org/org/documents/epl-v10.html           *
15 *      (with an md5 checksum of b35adb5213ca9657e911e9befb180842)      *
16 *                                                                      *
17 *              Information and Software Systems Research               *
18 *                            AT&T Research                             *
19 *                           Florham Park NJ                            *
20 *                                                                      *
21 *                 Glenn Fowler <gsf@research.att.com>                  *
22 *                  David Korn <dgk@research.att.com>                   *
23 *                   Phong Vo <kpv@research.att.com>                    *
24 *                                                                      *
25 ***********************************************************************/
26 /* : : generated from contrib/ast/src/lib/libast/features/standards by iffe version 2012-07-17 : : */
27 #ifndef _def_standards_ast
28 #define _def_standards_ast	1
29 #define _sys_types	1	/* #include <sys/types.h> ok */
30 /* _ALL_SOURCE & _POSIX_SOURCE & _POSIX_C_SOURCE & _XOPEN_SOURCE & __EXTENSIONS__ works */
31 #ifndef _ALL_SOURCE
32 #define _ALL_SOURCE	1
33 #endif
34 #ifndef _POSIX_SOURCE
35 #define _POSIX_SOURCE	1
36 #endif
37 #ifndef _POSIX_C_SOURCE
38 #define _POSIX_C_SOURCE	21000101L
39 #endif
40 #ifndef _XOPEN_SOURCE
41 #define _XOPEN_SOURCE	9900
42 #endif
43 #ifndef _GNU_SOURCE
44 #define _GNU_SOURCE	1
45 #endif
46 #ifndef __EXTENSIONS__
47 #define __EXTENSIONS__	1
48 #endif
49 
50 #define _LIB_m	1	/* -lm is a library */
51 /* _ISOC99_SOURCE plays nice */
52 #ifndef _ISOC99_SOURCE
53 #define _ISOC99_SOURCE	1
54 #endif
55 
56 
57 /*
58 * this is a nasty game we all play to honor standards symbol visibility
59 * it would help if all implementations had
60 *	_KITCHEN_SINK_SOURCE
61 * that enabled all symbols from the latest implemented standards
62 * that's probably the most useful but least portable request
63 */
64 
65 #if __MACH__
66 #undef  _POSIX_SOURCE
67 #endif
68 
69 
70 #endif
71