forked from Mirrorlandia_minetest/minetest
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
|
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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user