diff options
Diffstat (limited to 'test/test-eof.c')
-rw-r--r-- | test/test-eof.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test-eof.c b/test/test-eof.c index 741a2d81..a9ca5343 100644 --- a/test/test-eof.c +++ b/test/test-eof.c @@ -26,17 +26,17 @@ */ #include "event2/event-config.h" -#ifdef WIN32 +#ifdef _WIN32 #include <winsock2.h> #else #include <unistd.h> #endif #include <sys/types.h> #include <sys/stat.h> -#ifdef _EVENT_HAVE_SYS_TIME_H +#ifdef EVENT__HAVE_SYS_TIME_H #include <sys/time.h> #endif -#ifdef _EVENT_HAVE_SYS_SOCKET_H +#ifdef EVENT__HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif #include <fcntl.h> @@ -48,8 +48,8 @@ #include <event.h> #include <evutil.h> -#ifdef _EVENT___func__ -#define __func__ _EVENT___func__ +#ifdef EVENT____func__ +#define __func__ EVENT____func__ #endif int test_okay = 1; @@ -92,7 +92,7 @@ main(int argc, char **argv) const char *test = "test string"; evutil_socket_t pair[2]; -#ifdef WIN32 +#ifdef _WIN32 WORD wVersionRequested; WSADATA wsaData; |