mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-23 23:07:15 +08:00
Assorted minor changes to silence Windows compiler warnings.
Mostly to do with macro redefinitions or object signedness.
This commit is contained in:
@ -140,9 +140,11 @@ __attribute__((format(printf, 2, 3)));
|
||||
#ifdef WIN32
|
||||
typedef BOOL (WINAPI * __CreateRestrictedToken) (HANDLE, DWORD, DWORD, PSID_AND_ATTRIBUTES, DWORD, PLUID_AND_ATTRIBUTES, DWORD, PSID_AND_ATTRIBUTES, PHANDLE);
|
||||
|
||||
/* Windows API define missing from MingW headers */
|
||||
/* Windows API define missing from some versions of MingW headers */
|
||||
#ifndef DISABLE_MAX_PRIVILEGE
|
||||
#define DISABLE_MAX_PRIVILEGE 0x1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* allow core files if possible.
|
||||
|
||||
Reference in New Issue
Block a user