Content-Length: 274722 | pFad | http://github.com/postgrespro/postgres_cluster/commit/e5ac3d43435f208ff86aa954772e7ec06a2f5555

70 Don't use #include <crtdefs.h> for MSVC <= 1400. · postgrespro/postgres_cluster@e5ac3d4 · GitHub
Skip to content

Commit e5ac3d4

Browse files
committed
Don't use #include <crtdefs.h> for MSVC <= 1400.
Hiroshi Saito
1 parent d06f44a commit e5ac3d4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/include/c.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
1313
* Portions Copyright (c) 1994, Regents of the University of California
1414
*
15-
* $PostgreSQL: pgsql/src/include/c.h,v 1.207 2006/07/24 16:32:45 petere Exp $
15+
* $PostgreSQL: pgsql/src/include/c.h,v 1.208 2006/07/29 17:35:07 momjian Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -61,7 +61,9 @@
6161
#if defined(_MSC_VER) || defined(__BORLANDC__)
6262
#define WIN32_ONLY_COMPILER
6363
#define errcode __vc_errcode
64+
#if defined(__BORLANDC__) || (_MSC_VER > 1400)
6465
#include <crtdefs.h>
66+
#endif
6567
#undef errcode
6668
#endif
6769

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/e5ac3d43435f208ff86aa954772e7ec06a2f5555

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy