Fix msvc build
authorIlya Zhuravlev <zhuravlevilya@ya.ru>
Mon, 21 Jan 2013 21:16:29 +0000 (01:16 +0400)
committerIlya Zhuravlev <zhuravlevilya@ya.ru>
Mon, 21 Jan 2013 21:16:29 +0000 (01:16 +0400)
src/porting.cpp

index 651c92ff966eafaa7f2acae3b83f1cc1214c22d4..de15de9ce2309b200a59cb8e80c3e364a093cae1 100644 (file)
@@ -23,9 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
        See comments in porting.h
 */
 
-#if defined(_WIN32)
-       #include <windows.h>
-#elif defined(linux)
+#if defined(linux)
        #include <unistd.h>
 #elif defined(__APPLE__)
        #include <unistd.h>
@@ -92,7 +90,6 @@ void signal_handler_init(void)
 
 #else // _WIN32
        #include <signal.h>
-       #include <windows.h>
 
        BOOL WINAPI event_handler(DWORD sig)
        {