PostgreSQL Source Code  git master
cygwin.h
Go to the documentation of this file.
1 /* src/include/port/cygwin.h */
2 
3 #ifdef BUILDING_DLL
4 #define PGDLLIMPORT __declspec (dllexport)
5 #else
6 #define PGDLLIMPORT __declspec (dllimport)
7 #endif
8 
9 #define PGDLLEXPORT
10 
11 /*
12  * Cygwin has a strtof() which is literally just (float)strtod(), which means
13  * we get misrounding _and_ silent over/underflow. Using our wrapper doesn't
14  * fix the misrounding but does fix the error checks, which cuts down on the
15  * number of test variant files needed.
16  */
17 #define HAVE_BUGGY_STRTOF 1