codekingpro/portable-devtools
114k
1/* src/include/port/cygwin.h */2 3/*4 * Variables declared in the core backend and referenced by loadable5 * modules need to be marked "dllimport" in the core build, but6 * "dllexport" when the declaration is read in a loadable module.7 * No special markings should be used when compiling frontend code.8 */9#ifndef FRONTEND10#ifdef BUILDING_DLL11#define PGDLLIMPORT __declspec (dllexport)12#else13#define PGDLLIMPORT __declspec (dllimport)14#endif15#endif16 17/*18 * Cygwin has a strtof() which is literally just (float)strtod(), which means19 * we get misrounding _and_ silent over/underflow. Using our wrapper doesn't20 * fix the misrounding but does fix the error checks, which cuts down on the21 * number of test variant files needed.22 */23#define HAVE_BUGGY_STRTOF 124 