Skip to content

Commit

Permalink
Remove redefines to fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrune committed Sep 25, 2024
1 parent aa9ac1e commit 7bbe0cb
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/Game/HorseRace.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
#include "utility.h"

#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#define strcasecmp _stricmp
#include <direct.h>
#include <io.h>
Expand Down
1 change: 0 additions & 1 deletion src/Game/TitanNet.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include "utility.h"

#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <winbase.h>
#include <io.h>
Expand Down
1 change: 0 additions & 1 deletion src/SDL/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
#include "Universe.h"

#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#define strcasecmp _stricmp
#include <windows.h>
#include <winreg.h>
Expand Down
1 change: 0 additions & 1 deletion src/SDL/render.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
#endif

#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#else
#include <sys/mman.h>
Expand Down
1 change: 0 additions & 1 deletion src/SDL/utility.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@
#endif

#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <winreg.h>
#include <shellapi.h>
Expand Down

0 comments on commit 7bbe0cb

Please sign in to comment.