]> granicus.if.org Git - php/commitdiff
MFH
authorAntony Dovgal <tony2001@php.net>
Thu, 15 Feb 2007 19:11:48 +0000 (19:11 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 15 Feb 2007 19:11:48 +0000 (19:11 +0000)
TSRM/TSRM.h
TSRM/tsrm_config_common.h

index b4309f6df64174579fdf89db7d3edd57ff78111d..5e3411b8f7500920698a4e1ae772cdca2b4a3bed 100644 (file)
 #ifndef TSRM_H
 #define TSRM_H
 
-/* #ifndef WIN32 */
-#ifndef WIN32
-# include <tsrm_config.h>
-#endif
-
-#ifdef WIN32
+#if !defined(__CYGWIN__) && defined(WIN32)
 # define TSRM_WIN32
 # include "tsrm_config.w32.h"
+#else
+# include <tsrm_config.h>
 #endif
 
 #ifdef TSRM_WIN32
index 62a7c8efc018493311200d20316a68db4d734612..0c6a2a183fc0b9725c97134a1e7ac62e971abe01 100644 (file)
@@ -1,8 +1,10 @@
 #ifndef TSRM_CONFIG_COMMON_H
 #define TSRM_CONFIG_COMMON_H
 
-#if WINNT|WIN32
-# define TSRM_WIN32
+#ifndef __CYGWIN__
+# if WINNT|WIN32
+#  define TSRM_WIN32
+# endif
 #endif
 
 #ifdef TSRM_WIN32