This commit is contained in:
ekeeke 2024-04-20 18:49:35 +02:00
commit dbdb18eb50
3 changed files with 10 additions and 2 deletions

View File

@ -480,4 +480,4 @@ void input_end_frame(unsigned int cycles)
} }
} }
} }
} }

View File

@ -41,6 +41,14 @@ ifneq ($(OS),Windows_NT)
DEFINES += -DHAVE_ALLOCA_H DEFINES += -DHAVE_ALLOCA_H
endif endif
ifneq ($(findstring Darwin,$(shell uname -a)),)
platform = osx
endif
ifeq ($(platform), osx)
CFLAGS += -Winvalid-utf8 -Wstrict-prototypes
endif
SRCDIR = ../core SRCDIR = ../core
INCLUDES = -I$(SRCDIR) -I$(SRCDIR)/z80 -I$(SRCDIR)/m68k -I$(SRCDIR)/sound -I$(SRCDIR)/input_hw -I$(SRCDIR)/cart_hw -I$(SRCDIR)/cart_hw/svp -I$(SRCDIR)/cd_hw -I$(SRCDIR)/ntsc -I$(SRCDIR)/tremor -I$(SRCDIR)/../sdl -I$(SRCDIR)/../sdl/sdl2 INCLUDES = -I$(SRCDIR) -I$(SRCDIR)/z80 -I$(SRCDIR)/m68k -I$(SRCDIR)/sound -I$(SRCDIR)/input_hw -I$(SRCDIR)/cart_hw -I$(SRCDIR)/cart_hw/svp -I$(SRCDIR)/cd_hw -I$(SRCDIR)/ntsc -I$(SRCDIR)/tremor -I$(SRCDIR)/../sdl -I$(SRCDIR)/../sdl/sdl2
LIBS = `sdl2-config --libs` -lz -lm LIBS = `sdl2-config --libs` -lz -lm

View File

@ -2,7 +2,7 @@
#ifndef _CONFIG_H_ #ifndef _CONFIG_H_
#define _CONFIG_H_ #define _CONFIG_H_
#include "shared.h" #include "types.h"
/**************************************************************************** /****************************************************************************
* Config Option * Config Option