mirror of
https://github.com/postgres/postgres.git
synced 2025-11-24 00:23:06 +03:00
Make Win32 tests to match existing Cygwin tests, where appropriate.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#define POSTGRES_SQLCA_H
|
||||
|
||||
#ifndef DLLIMPORT
|
||||
#ifdef __CYGWIN__
|
||||
#if defined(__CYGWIN__) || defined(WIN32)
|
||||
#define DLLIMPORT __declspec (dllimport)
|
||||
#else
|
||||
#define DLLIMPORT
|
||||
|
||||
@@ -216,10 +216,11 @@ do { \
|
||||
#endif
|
||||
|
||||
/* Global variable holding time zone information. */
|
||||
#if defined(__CYGWIN__) || defined(N_PLAT_NLM)
|
||||
#define TIMEZONE_GLOBAL _timezone
|
||||
#else
|
||||
#if !defined(__CYGWIN__) && !defined(WIN32)
|
||||
#define TIMEZONE_GLOBAL timezone
|
||||
#else
|
||||
#define TIMEZONE_GLOBAL _timezone
|
||||
#define tzname _tzname /* should be in time.h? */
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user