PostgreSQL Source Code  git master
solaris.h
Go to the documentation of this file.
1 /* src/include/port/solaris.h */
2 
3 /*
4  * Sort this out for all operating systems some time. The __xxx
5  * symbols are defined on both GCC and Solaris CC, although GCC
6  * doesn't document them. The __xxx__ symbols are only on GCC.
7  */
8 #if defined(__i386) && !defined(__i386__)
9 #define __i386__
10 #endif
11 
12 #if defined(__amd64) && !defined(__amd64__)
13 #define __amd64__
14 #endif
15 
16 #if defined(__x86_64) && !defined(__x86_64__)
17 #define __x86_64__
18 #endif
19 
20 #if defined(__sparc) && !defined(__sparc__)
21 #define __sparc__
22 #endif
23 
24 #if defined(__i386__)
25 #include <sys/isa_defs.h>
26 #endif