1
0
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:
Magnus Hagander
2007-10-03 11:57:36 +00:00
parent ebade3f5bf
commit 6ddbc1164d
7 changed files with 10 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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