mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 03:55:11 +00:00
Fix Mac compile
This commit is contained in:
parent
e990157986
commit
4b41c3fd39
2 changed files with 3 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -609,7 +609,7 @@ SDL1_USED := 0
|
|||
SDL2_USED := 0
|
||||
|
||||
# suppress warnings
|
||||
BACKEND_CFLAGS += -Wno-format-truncation -Wno-format-security -Wno-trigraphs
|
||||
BACKEND_CFLAGS += -Wno-format-security -Wno-trigraphs
|
||||
BACKEND_CFLAGS += $(EXTRA_CFLAGS)
|
||||
|
||||
# for now, it's either SDL+GL or DXGI+DirectX, so choose based on WAPI
|
||||
|
@ -627,6 +627,7 @@ else ifeq ($(findstring SDL,$(WINDOW_API)),SDL)
|
|||
BACKEND_LDFLAGS += -lGLESv2
|
||||
else ifeq ($(OSX_BUILD),1)
|
||||
BACKEND_LDFLAGS += -framework OpenGL `pkg-config --libs glew`
|
||||
EXTRA_CPP_FLAGS += -stdlib=libc++ -std=c++0x
|
||||
else
|
||||
BACKEND_LDFLAGS += -lGL
|
||||
endif
|
||||
|
|
|
@ -11,6 +11,7 @@ struct LogFile {
|
|||
bool firstOpen;
|
||||
FILE* file;
|
||||
};
|
||||
#pragma pack()
|
||||
|
||||
enum LogFileType {
|
||||
LFT_HANG,
|
||||
|
|
Loading…
Reference in a new issue