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

Commit4a30da1

Browse files
committed
Add missing #define for mingw, per Magnus.
1 parentfe796ea commit4a30da1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/test/regress/pg_regress.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
1212
* Portions Copyright (c) 1994, Regents of the University of California
1313
*
14-
* $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.30 2007/02/0815:28:58 momjian Exp $
14+
* $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.31 2007/02/0819:48:28 tgl Exp $
1515
*
1616
*-------------------------------------------------------------------------
1717
*/
@@ -137,6 +137,9 @@ __attribute__((format(printf, 2, 3)));
137137

138138
#ifdefWIN32
139139
typedefBOOL(WINAPI*__CreateRestrictedToken) (HANDLE,DWORD,DWORD,PSID_AND_ATTRIBUTES,DWORD,PLUID_AND_ATTRIBUTES,DWORD,PSID_AND_ATTRIBUTES,PHANDLE);
140+
141+
/* Windows API define missing from MingW headers */
142+
#defineDISABLE_MAX_PRIVILEGE0x1
140143
#endif
141144

142145
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp