fix Cygwin build

(costs us nothing, but makes some people happy)
This commit is contained in:
Antony Dovgal 2007-02-15 19:11:29 +00:00
parent 9c75989fb9
commit 13149b0c6a
2 changed files with 7 additions and 8 deletions

View File

@ -13,14 +13,11 @@
#ifndef TSRM_H #ifndef TSRM_H
#define TSRM_H #define TSRM_H
/* #ifndef WIN32 */ #if !defined(__CYGWIN__) && defined(WIN32)
#ifndef WIN32
# include <tsrm_config.h>
#endif
#ifdef WIN32
# define TSRM_WIN32 # define TSRM_WIN32
# include "tsrm_config.w32.h" # include "tsrm_config.w32.h"
#else
# include <tsrm_config.h>
#endif #endif
#ifdef TSRM_WIN32 #ifdef TSRM_WIN32

View File

@ -1,8 +1,10 @@
#ifndef TSRM_CONFIG_COMMON_H #ifndef TSRM_CONFIG_COMMON_H
#define TSRM_CONFIG_COMMON_H #define TSRM_CONFIG_COMMON_H
#if WINNT|WIN32 #ifndef __CYGWIN__
# define TSRM_WIN32 # if WINNT|WIN32
# define TSRM_WIN32
# endif
#endif #endif
#ifdef TSRM_WIN32 #ifdef TSRM_WIN32