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

Commite860e74

Browse files
committed
Return inline to win32.h because code was OK, but keep additional
comment. 8.1.X is not affected by this commit.
1 parent3929b6e commite860e74

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

‎src/include/c.h

Lines changed: 1 addition & 12 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.210 2006/08/10 01:35:21 momjian Exp $
15+
* $PostgreSQL: pgsql/src/include/c.h,v 1.211 2006/08/10 01:41:29 momjian Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -744,17 +744,6 @@ typedef NameData *Name;
744744
#definePG_BINARY_W "w"
745745
#endif
746746

747-
#ifdefMSVC
748-
/*
749-
*Certain "standard edition" versions of MSVC throw a warning
750-
*that later generates an error for "inline" statements, but
751-
*__inline seems to work. e.g. Microsoft Visual C++ .NET
752-
*Version 7.1.3088
753-
*/
754-
#defineinline __inline
755-
#define__inline__ __inline
756-
#endif
757-
758747
#if defined(sun)&& defined(__sparc__)&& !defined(__SVR4)
759748
#include<unistd.h>
760749
#endif

‎src/include/port/win32.h

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.57 2006/08/10 01:35:21 momjian Exp $ */
1+
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.58 2006/08/10 01:41:29 momjian Exp $ */
22

33
/* undefine and redefine after #include */
44
#undef mkdir
@@ -259,6 +259,15 @@ extern void _dosmaperr(unsigned long);
259259
typedeflongssize_t;
260260
typedefunsigned shortmode_t;
261261

262+
/*
263+
*Certain "standard edition" versions of MSVC throw a warning
264+
*that later generates an error for "inline" statements, but
265+
*__inline seems to work. e.g. Microsoft Visual C++ .NET
266+
*Version 7.1.3088
267+
*/
268+
#defineinline __inline
269+
#define__inline__ __inline
270+
262271
#undef errcode
263272
#defineerrcode __vc_errcode
264273

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp