aboutsummaryrefslogtreecommitdiff
path: root/tests/server/util.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-10-11 16:01:16 +0000
committerYang Tse <yangsita@gmail.com>2006-10-11 16:01:16 +0000
commite150150d9f1e0578c85af05de15ab6336066cec1 (patch)
tree7ccad4887ea68afc2ce0503b4fa7a913fdd40d60 /tests/server/util.h
parent943f0733bb187dfacdfdc23806ab030cee97c9fc (diff)
Remove redundant __CYGWIN__ symbol check
Diffstat (limited to 'tests/server/util.h')
-rw-r--r--tests/server/util.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/server/util.h b/tests/server/util.h
index 30395fc4c..acda12159 100644
--- a/tests/server/util.h
+++ b/tests/server/util.h
@@ -38,10 +38,9 @@ void logmsg(const char *msg, ...);
/* global variable, where to find the 'data' dir */
extern const char *path;
-#if defined(WIN32) && !defined(__CYGWIN__)
+#ifdef WIN32
#include <process.h>
#include <fcntl.h>
-#define REAL_WIN32
#define sleep(sec) Sleep ((sec)*1000)
@@ -57,7 +56,7 @@ void win32_perror (const char *msg);
void win32_init(void);
void win32_cleanup(void);
-#endif /* WIN32 && !__CYGWIN__ */
+#endif /* WIN32 */
/* returns the path name to the test case file */
char *test2file(long testno);