xref: /illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/standards (revision 1da57d551424de5a9d469760be7c4b4d4f10a755)
1/* : : generated from contrib/ast/src/lib/libast/features/standards by iffe version 2012-07-17 : : */
2#ifndef _def_standards_ast
3#define _def_standards_ast	1
4#define _sys_types	1	/* #include <sys/types.h> ok */
5/* _ALL_SOURCE & _POSIX_SOURCE & _POSIX_C_SOURCE & _XOPEN_SOURCE & __EXTENSIONS__ works */
6#ifndef _ALL_SOURCE
7#define _ALL_SOURCE	1
8#endif
9#ifndef _POSIX_SOURCE
10#define _POSIX_SOURCE	1
11#endif
12#ifndef _POSIX_C_SOURCE
13#define _POSIX_C_SOURCE	21000101L
14#endif
15#ifndef _XOPEN_SOURCE
16#define _XOPEN_SOURCE	9900
17#endif
18#ifndef _GNU_SOURCE
19#define _GNU_SOURCE	1
20#endif
21#ifndef __EXTENSIONS__
22#define __EXTENSIONS__	1
23#endif
24
25#define _LIB_m	1	/* -lm is a library */
26/* _ISOC99_SOURCE plays nice */
27#ifndef _ISOC99_SOURCE
28#define _ISOC99_SOURCE	1
29#endif
30
31
32/*
33* this is a nasty game we all play to honor standards symbol visibility
34* it would help if all implementations had
35*	_KITCHEN_SINK_SOURCE
36* that enabled all symbols from the latest implemented standards
37* that's probably the most useful but least portable request
38*/
39
40#if __MACH__
41#undef  _POSIX_SOURCE
42#endif
43
44
45#endif
46