Fixed 64-bit compiliation, edited configure script to allow

setting of 64-bit operations
This commit is contained in:
Sylae Jiendra Corell
2014-06-18 14:00:57 -06:00
parent 039ef4d143
commit 69ffd4cee3
3 changed files with 11 additions and 22 deletions

View File

@@ -10,7 +10,7 @@ LIBS = -mwindows -lwinmm -static-libgcc -static-libstdc++
INCS = -I"include"
CXXINCS =
BIN = "Blades of Exile.exe"
CXXFLAGS = $(CXXINCS) -Wall -O2
CXXFLAGS = $(CXXINCS) -Wall -O2 $(FLAGS)
CFLAGS = $(INCS) -O2
RM = rm -f

View File

@@ -18,24 +18,6 @@
#include "globvar.h"
// Check windows
#if _WIN32 || _WIN64
#if _WIN64
#define ENVIRONMENT64
#else
#define ENVIRONMENT32
#endif
#endif
// Check GCC
#if __GNUC__
#if __x86_64__ || __ppc64__
#define ENVIRONMENT64
#else
#define ENVIRONMENT32
#endif
#endif
void startup_load()
{
load_file();