mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Enable MiniUPNPC for OSX
This commit is contained in:
parent
417cf09967
commit
5f78d0594c
5
deps/miniupnpc/portlistingparse.c
vendored
5
deps/miniupnpc/portlistingparse.c
vendored
@ -90,8 +90,7 @@ endelt(void * d, const char * name, int l)
|
||||
}
|
||||
|
||||
/* Data handler */
|
||||
static void
|
||||
data(void * d, const char * data, int l)
|
||||
static void portlisting_data(void * d, const char * data, int l)
|
||||
{
|
||||
struct PortMapping * pm;
|
||||
struct PortMappingParserData * pdata = (struct PortMappingParserData *)d;
|
||||
@ -153,7 +152,7 @@ ParsePortListing(const char * buffer, int bufsize,
|
||||
parser.data = pdata;
|
||||
parser.starteltfunc = startelt;
|
||||
parser.endeltfunc = endelt;
|
||||
parser.datafunc = data;
|
||||
parser.datafunc = portlisting_data;
|
||||
parser.attfunc = 0;
|
||||
parsexml(&parser);
|
||||
}
|
||||
|
@ -377,6 +377,7 @@
|
||||
"$(SRCROOT)/../..",
|
||||
"$(SRCROOT)/../../gfx/include",
|
||||
"$(SRCROOT)/../../libretro-common/include",
|
||||
"$(SRCROOT)/../../deps",
|
||||
);
|
||||
INFOPLIST_FILE = OSX/Info.plist;
|
||||
INSTALL_PATH = "$(HOME)/Applications";
|
||||
@ -406,6 +407,7 @@
|
||||
"$(SRCROOT)/../..",
|
||||
"$(SRCROOT)/../../gfx/include",
|
||||
"$(SRCROOT)/../../libretro-common/include",
|
||||
"$(SRCROOT)/../../deps",
|
||||
);
|
||||
INFOPLIST_FILE = OSX/Info.plist;
|
||||
INSTALL_PATH = "$(HOME)/Applications";
|
||||
@ -437,6 +439,7 @@
|
||||
"$(SRCROOT)/../..",
|
||||
"$(SRCROOT)/../../gfx/include",
|
||||
"$(SRCROOT)/../../libretro-common/include",
|
||||
"$(SRCROOT)/../../deps",
|
||||
);
|
||||
INFOPLIST_FILE = "$(SRCROOT)/OSX/Info.plist";
|
||||
INSTALL_PATH = "$(HOME)/Applications";
|
||||
@ -462,6 +465,7 @@
|
||||
"$(SRCROOT)/../..",
|
||||
"$(SRCROOT)/../../gfx/include",
|
||||
"$(SRCROOT)/../../libretro-common/include",
|
||||
"$(SRCROOT)/../../deps",
|
||||
);
|
||||
INFOPLIST_FILE = "$(SRCROOT)/OSX/Info.plist";
|
||||
INSTALL_PATH = "$(HOME)/Applications";
|
||||
@ -482,6 +486,8 @@
|
||||
ONLY_ACTIVE_ARCH = NO;
|
||||
OTHER_CFLAGS = (
|
||||
"-DHAVE_GRIFFIN",
|
||||
"-DHAVE_MINIUPNPC",
|
||||
"-DHAVE_BUILTINMINIUPNPC",
|
||||
"-DHAVE_UPDATE_ASSETS",
|
||||
"-DHAVE_LANGEXTRA",
|
||||
"-DHAVE_CHEEVOS",
|
||||
@ -537,6 +543,8 @@
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.5;
|
||||
OTHER_CFLAGS = (
|
||||
"-DHAVE_GRIFFIN",
|
||||
"-DHAVE_MINIUPNPC",
|
||||
"-DHAVE_BUILTINMINIUPNPC",
|
||||
"-DHAVE_UPDATE_ASSETS",
|
||||
"-DHAVE_LANGEXTRA",
|
||||
"-DHAVE_CHEEVOS",
|
||||
|
Loading…
x
Reference in New Issue
Block a user