From e150150d9f1e0578c85af05de15ab6336066cec1 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 11 Oct 2006 16:01:16 +0000 Subject: Remove redundant __CYGWIN__ symbol check --- tests/server/util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/server/util.c') diff --git a/tests/server/util.c b/tests/server/util.c index 724cb8517..7bf8bdc82 100644 --- a/tests/server/util.c +++ b/tests/server/util.c @@ -65,7 +65,7 @@ const struct in6_addr in6addr_any = {{ IN6ADDR_ANY_INIT }}; */ int ourerrno(void) { -#if defined(WIN32) && !defined(__CYGWIN__) +#ifdef WIN32 return (int)GetLastError(); #else return errno; @@ -101,7 +101,7 @@ void logmsg(const char *msg, ...) } } -#if defined(REAL_WIN32) +#ifdef WIN32 /* use instead of perror() on generic windows */ void win32_perror (const char *msg) { @@ -145,7 +145,7 @@ void win32_cleanup(void) { WSACleanup(); } -#endif /* REAL_WIN32 */ +#endif /* WIN32 */ /* set by the main code to point to where the test dir is */ const char *path="."; -- cgit v1.2.3