File: pconfig.SunOS5.6

package info (click to toggle)
libflorist 2017-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,212 kB
  • sloc: ada: 11,902; ansic: 7,195; makefile: 137; sh: 18
file content (30 lines) | stat: -rw-r--r-- 929 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#define _POSIX_C_SOURCE 199506L
#define _XOPEN_SOURCE 500
#define _XOPEN_SOURCE_EXTENDED 1
#define __EXTENSIONS__
#define _REENTRANT
#define _LARGEFILE_SOURCE
#define _FILE_OFFSET_BITS 64

/* SOLARIS_HACK activates a workaround for a trick that appeared
   in the Solaris 2.6 header files, of defining local function bodies
   for certain POSIX function names, which are wrappers that in turn
   call a real library function whose name is of the form __posix_XXX.
 
   ....We need to fix the configuration process to auto-detect this!
 
 */
#define SOLARIS_HACK

/* Need to include stdarg.h first to ensure that the GNU stdarg will be
   used. Defining _VA_LIST ensures that no further definition of va_list will
   be attempted. */
#include <stdarg.h>
#define _VA_LIST

#ifdef __arch64__
#define XTI_TINFO_FTYPE int
#define XTI_OPTHDR_FTYPE int
#define XTI_LINGER_FTYPE int
#define XTI_KPALIVE_FTYPE int
#endif /* __arch64__ */