mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01:00
Fix msvc build
This commit is contained in:
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
|
||||
*/
|
||||
|
||||
#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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user