mirror of
https://github.com/postgres/postgres.git
synced 2025-07-23 03:21:12 +03:00
Work around broken strtod() that's present in many Solaris releases.
Thanks to Michael Fuhr for identifying the problem.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user