greenplumn cygwin 源码

  • 2022-08-18
  • 浏览 (509)

greenplumn cygwin 代码

文件路径:/src/include/port/cygwin.h

/* src/include/port/cygwin.h */

#include <cygwin/version.h>

/*
 * Check for b20.1 and disable AF_UNIX family socket support.
 */
#if CYGWIN_VERSION_DLL_MAJOR < 1001
#undef HAVE_UNIX_SOCKETS
#endif

#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

相关信息

greenplumn 源码目录

相关文章

greenplumn aix 源码

greenplumn atomics 源码

greenplumn darwin 源码

greenplumn freebsd 源码

greenplumn hpux 源码

greenplumn linux 源码

greenplumn netbsd 源码

greenplumn openbsd 源码

greenplumn pg_bitutils 源码

greenplumn pg_bswap 源码

0  赞