Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite5ac3d4

Browse files
committed
Don't use #include <crtdefs.h> for MSVC <= 1400.
Hiroshi Saito
1 parentd06f44a commite5ac3d4

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
#defineWIN32_ONLY_COMPILER
6363
#defineerrcode __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)

[8]ページ先頭

©2009-2025 Movatter.jp