init
This commit is contained in:
17
db_include/port/cygwin.h
Executable file
17
db_include/port/cygwin.h
Executable file
@@ -0,0 +1,17 @@
|
||||
/* src/include/port/cygwin.h */
|
||||
|
||||
#ifdef BUILDING_DLL
|
||||
#define PGDLLIMPORT __declspec (dllexport)
|
||||
#else
|
||||
#define PGDLLIMPORT __declspec (dllimport)
|
||||
#endif
|
||||
|
||||
#define PGDLLEXPORT
|
||||
|
||||
/*
|
||||
* Cygwin has a strtof() which is literally just (float)strtod(), which means
|
||||
* we get misrounding _and_ silent over/underflow. Using our wrapper doesn't
|
||||
* fix the misrounding but does fix the error checks, which cuts down on the
|
||||
* number of test variant files needed.
|
||||
*/
|
||||
#define HAVE_BUGGY_STRTOF 1
|
||||
Reference in New Issue
Block a user