Fix Windows build and premake

This commit is contained in:
eray orçunus
2020-05-11 20:10:01 +03:00
parent 8a4fa58cd4
commit 36e2bc95d3
7 changed files with 20 additions and 12 deletions

View File

@@ -82,7 +82,7 @@ RwBool IsForegroundApp();
#endif
// Codes compatible with Windows and Linux
#if !defined _WIN32
#ifndef _WIN32
#define DeleteFile unlink
// Needed for save games
@@ -103,7 +103,7 @@ void GetLocalTime_CP(SYSTEMTIME* out);
#endif
// Compatible with Linux/POSIX and MinGW on Windows
#if !defined _WIN32
#ifndef _WIN32
#include <iostream>
#include <dirent.h>
#include <sys/types.h>