From 9c4c8c8468bfdcfba67a9e0bd015843dab949dbf Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Tue, 25 Oct 2011 21:30:53 +0200 Subject: [PATCH] Remove argument decoration that appears unsupported on mingw --- src/bin/pgevent/pgevent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/pgevent/pgevent.c b/src/bin/pgevent/pgevent.c index d4d505c53f..5b9b0d32d7 100644 --- a/src/bin/pgevent/pgevent.c +++ b/src/bin/pgevent/pgevent.c @@ -29,7 +29,7 @@ HANDLE g_module = NULL; /* hModule of DLL */ char event_source[256] = "PostgreSQL"; /* Prototypes */ -HRESULT DllInstall(BOOL bInstall, __in_opt LPCWSTR pszCmdLine); +HRESULT DllInstall(BOOL bInstall, LPCWSTR pszCmdLine); STDAPI DllRegisterServer(void); STDAPI DllUnregisterServer(void); BOOL WINAPI DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved); @@ -40,7 +40,7 @@ BOOL WINAPI DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) HRESULT DllInstall(BOOL bInstall, - __in_opt LPCWSTR pszCmdLine) + LPCWSTR pszCmdLine) { size_t ret;