diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-08-11 17:20:50 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-08-11 17:20:50 +0000 |
commit | b2d9fbeef24deb640f8eef90c83625464ecd3c46 (patch) | |
tree | 3699388cefa54e7761645609dac3fd7085c056f3 /src/include/port/solaris.h | |
parent | 178ec6f40e15f0bd161b5b30d77c8c6bcb61b649 (diff) |
Work around broken strtod() that's present in many Solaris releases.
Thanks to Michael Fuhr for identifying the problem.
Diffstat (limited to 'src/include/port/solaris.h')
-rw-r--r-- | src/include/port/solaris.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/port/solaris.h b/src/include/port/solaris.h index f37e2a2a88b..0584d9291c4 100644 --- a/src/include/port/solaris.h +++ b/src/include/port/solaris.h @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/include/port/solaris.h,v 1.11 2004/03/15 03:29:22 tgl Exp $ */ +/* $PostgreSQL: pgsql/src/include/port/solaris.h,v 1.12 2004/08/11 17:20:50 tgl Exp $ */ /* * Sort this out for all operating systems some time. The __xxx @@ -35,3 +35,10 @@ #define BYTE_ORDER LITTLE_ENDIAN #endif #endif + +/* + * Many versions of Solaris have broken strtod() --- see bug #4751182. + * For the moment we just assume they all do; it's probably not worth + * the trouble to add a configure test for this. + */ +#define HAVE_BUGGY_SOLARIS_STRTOD |