Header And Logo

PostgreSQL
| The world's most advanced open source database.

solaris.h

Go to the documentation of this file.
00001 /* src/include/port/solaris.h */
00002 
00003 /*
00004  * Sort this out for all operating systems some time.  The __xxx
00005  * symbols are defined on both GCC and Solaris CC, although GCC
00006  * doesn't document them.  The __xxx__ symbols are only on GCC.
00007  */
00008 #if defined(__i386) && !defined(__i386__)
00009 #define __i386__
00010 #endif
00011 
00012 #if defined(__amd64) && !defined(__amd64__)
00013 #define __amd64__
00014 #endif
00015 
00016 #if defined(__x86_64) && !defined(__x86_64__)
00017 #define __x86_64__
00018 #endif
00019 
00020 #if defined(__sparc) && !defined(__sparc__)
00021 #define __sparc__
00022 #endif
00023 
00024 #if defined(__i386__)
00025 #include <sys/isa_defs.h>
00026 #endif
00027 
00028 /*
00029  * Many versions of Solaris have broken strtod() --- see bug #4751182.
00030  * This has been fixed in current versions of Solaris:
00031  *
00032  * http://sunsolve.sun.com/search/document.do?assetkey=1-21-108993-62-1&searchclause=108993-62
00033  * http://sunsolve.sun.com/search/document.do?assetkey=1-21-112874-34-1&searchclause=112874-34
00034  *
00035  * However, many people might not have patched versions, so
00036  * still use our own fix for the buggy version.
00037  */
00038 #define HAVE_BUGGY_SOLARIS_STRTOD