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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy