Fix msvc build

This commit is contained in:
Ilya Zhuravlev 2013-01-22 01:16:29 +04:00
parent d8a0efa6af
commit 5696ee8421

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