mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-05 08:55:01 -05: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