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

Commit878f32f

Browse files
committed
Move WIN32_ONLY_COMPILER define from c.h to win32.h because it was being
defined too late.
1 parent6e6125d commit878f32f

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

‎src/include/c.h

Lines changed: 1 addition & 4 deletions
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.211 2006/08/10 01:41:29 momjian Exp $
15+
* $PostgreSQL: pgsql/src/include/c.h,v 1.212 2006/10/03 03:59:22 momjian Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -58,12 +58,9 @@
5858
#include"postgres_ext.h"
5959
#include"pg_trace.h"
6060

61-
#if defined(_MSC_VER)|| defined(__BORLANDC__)
62-
#defineWIN32_ONLY_COMPILER
6361
#if defined(__BORLANDC__)|| (_MSC_VER>1400)
6462
#include<crtdefs.h>
6563
#endif
66-
#endif
6764

6865
#include<stdio.h>
6966
#include<stdlib.h>

‎src/include/port/win32.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.59 2006/09/16 13:35:49 tgl Exp $ */
1+
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.60 2006/10/03 03:59:22 momjian Exp $ */
2+
3+
#if defined(_MSC_VER)|| defined(__BORLANDC__)
4+
#defineWIN32_ONLY_COMPILER
5+
#endif
26

37
/* undefine and redefine after #include */
48
#undef mkdir

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp