mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
OS/2 patches for SDLMAME 0.159 [KO Muyng-Hun]
This commit is contained in:
parent
9d6f238186
commit
af7b120d82
4
3rdparty/mongoose/mongoose.c
vendored
4
3rdparty/mongoose/mongoose.c
vendored
@ -63,6 +63,10 @@
|
||||
#pragma warning (disable : 4204) // missing c99 support
|
||||
#endif
|
||||
|
||||
#ifdef __OS2__
|
||||
#define _MMAP_DECLARED // Prevent dummy mmap() declaration in stdio.h
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <assert.h>
|
||||
|
4
makefile
4
makefile
@ -483,12 +483,10 @@ ifdef PROFILER
|
||||
DEFS += -DMAME_PROFILER
|
||||
endif
|
||||
|
||||
# dine USE_NETWORK if networking is enabled (not OS/2 and hasn't been disabled)
|
||||
ifneq ($(TARGETOS),os2)
|
||||
# define USE_NETWORK if networking is enabled (hasn't been disabled)
|
||||
ifndef DONT_USE_NETWORK
|
||||
DEFS += -DUSE_NETWORK
|
||||
endif
|
||||
endif
|
||||
|
||||
# need to ensure FLAC functions are statically linked
|
||||
ifeq ($(BUILD_FLAC),1)
|
||||
|
@ -753,7 +753,7 @@ SDLLIBS := $(shell sdl-config --libs)
|
||||
|
||||
INCPATH += $(SDLCFLAGS)
|
||||
LIBS += $(SDLLIBS) -lpthread
|
||||
BASELIBS += += $(SDLLIBS) -lpthread
|
||||
BASELIBS += $(SDLLIBS) -lpthread
|
||||
|
||||
endif # OS2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user