diff options
author | Ilya Zhuravlev <zhuravlevilya@ya.ru> | 2013-01-22 01:16:29 +0400 |
---|---|---|
committer | Ilya Zhuravlev <zhuravlevilya@ya.ru> | 2013-01-22 01:16:29 +0400 |
commit | 5696ee8421bc3ad07d62686befe0bcc6c62489dc (patch) | |
tree | c753b12805b490cbf9b3a1d8eaf6a116b9d20f13 /src | |
parent | d8a0efa6af9a10a0d5f97fbc9dc3c107a7c118b5 (diff) | |
download | minetest-5696ee8421bc3ad07d62686befe0bcc6c62489dc.tar.gz minetest-5696ee8421bc3ad07d62686befe0bcc6c62489dc.tar.bz2 minetest-5696ee8421bc3ad07d62686befe0bcc6c62489dc.zip |
Fix msvc build
Diffstat (limited to 'src')
-rw-r--r-- | src/porting.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/porting.cpp b/src/porting.cpp index 651c92ff9..de15de9ce 100644 --- a/src/porting.cpp +++ b/src/porting.cpp @@ -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) { |