mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Make ECPG regression tests run with -c only for array_of_struct.pgc
on MSVC. Fix strange nonstandard version of __stdcall specifyer in thread tests on win32.
This commit is contained in:
@ -121,7 +121,7 @@ struct sqlca_t *ECPGget_sqlca(void);
|
||||
|
||||
|
||||
#ifdef WIN32
|
||||
static unsigned STDCALL fn(void* arg)
|
||||
static unsigned __stdcall fn(void* arg)
|
||||
#else
|
||||
static void* fn(void* arg)
|
||||
#endif
|
||||
|
@ -101,7 +101,7 @@ struct sqlca_t *ECPGget_sqlca(void);
|
||||
|
||||
|
||||
#if defined(ENABLE_THREAD_SAFETY) && defined(WIN32)
|
||||
static unsigned STDCALL fn(void* arg)
|
||||
static unsigned __stdcall fn(void* arg)
|
||||
#else
|
||||
static void* fn(void* arg)
|
||||
#endif
|
||||
|
@ -121,7 +121,7 @@ struct sqlca_t *ECPGget_sqlca(void);
|
||||
|
||||
|
||||
#ifdef WIN32
|
||||
static unsigned STDCALL fn(void* arg)
|
||||
static unsigned __stdcall fn(void* arg)
|
||||
#else
|
||||
static void* fn(void* arg)
|
||||
#endif
|
||||
|
@ -28,7 +28,7 @@ exec sql whenever sqlerror sqlprint;
|
||||
exec sql whenever not found sqlprint;
|
||||
|
||||
#ifdef WIN32
|
||||
static unsigned STDCALL fn(void* arg)
|
||||
static unsigned __stdcall fn(void* arg)
|
||||
#else
|
||||
static void* fn(void* arg)
|
||||
#endif
|
||||
|
@ -17,7 +17,7 @@ EXEC SQL whenever sqlerror sqlprint;
|
||||
EXEC SQL whenever not found sqlprint;
|
||||
|
||||
#if defined(ENABLE_THREAD_SAFETY) && defined(WIN32)
|
||||
static unsigned STDCALL fn(void* arg)
|
||||
static unsigned __stdcall fn(void* arg)
|
||||
#else
|
||||
static void* fn(void* arg)
|
||||
#endif
|
||||
|
@ -28,7 +28,7 @@ exec sql whenever sqlerror sqlprint;
|
||||
exec sql whenever not found sqlprint;
|
||||
|
||||
#ifdef WIN32
|
||||
static unsigned STDCALL fn(void* arg)
|
||||
static unsigned __stdcall fn(void* arg)
|
||||
#else
|
||||
static void* fn(void* arg)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user