mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix msvc build
This commit is contained in:
parent
d8a0efa6af
commit
5696ee8421
1 changed files with 1 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue