mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Enable building with Visual Studion 2013.
Backpatch to 9.3. Brar Piening.
This commit is contained in:
@@ -307,7 +307,10 @@
|
||||
/* #undef HAVE_READLINK */
|
||||
|
||||
/* Define to 1 if you have the `rint' function. */
|
||||
/*#define HAVE_RINT 1*/
|
||||
#if (_MSC_VER >= 1800)
|
||||
#define HAVE_RINT 1
|
||||
#endif
|
||||
|
||||
|
||||
/* Define to 1 if you have the global variable
|
||||
'rl_completion_append_character'. */
|
||||
|
@@ -427,8 +427,10 @@ typedef unsigned short mode_t;
|
||||
#define W_OK 2
|
||||
#define R_OK 4
|
||||
|
||||
#if (_MSC_VER < 1800)
|
||||
#define isinf(x) ((_fpclass(x) == _FPCLASS_PINF) || (_fpclass(x) == _FPCLASS_NINF))
|
||||
#define isnan(x) _isnan(x)
|
||||
#endif
|
||||
|
||||
/* Pulled from Makefile.port in mingw */
|
||||
#define DLSUFFIX ".dll"
|
||||
|
Reference in New Issue
Block a user