1
0
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:
Bruce Momjian
2003-04-18 01:03:42 +00:00
parent cb7fb3ca95
commit 4d4953fc41
10 changed files with 109 additions and 42 deletions

View File

@@ -2,7 +2,7 @@
#define POSTGRES_SQLCA_H
#ifndef DLLIMPORT
#ifdef __CYGWIN__
#if defined(__CYGWIN__) || defined(WIN32)
#define DLLIMPORT __declspec (dllimport)
#else
#define DLLIMPORT

View File

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