mirror of
https://github.com/sonertari/SSLproxy
synced 2024-11-04 12:00:15 +00:00
Merge pull request #32 from fix-macosx/macosx-yosemite
Support Mac OS X 10.10 by using 10.9 headers
This commit is contained in:
commit
79c67ebed7
@ -60,10 +60,10 @@ else ifeq ($(basename $(basename $(shell uname -r))),13)
|
||||
# Mac OS X Mavericks
|
||||
FEATURES+= -DHAVE_PF
|
||||
PKG_CPPFLAGS+= -I./xnu/10.9
|
||||
#else ifeq ($(basename $(basename $(shell uname -r))),14)
|
||||
# Mac OS X Syrah
|
||||
#FEATURES+= -DHAVE_PF
|
||||
#PKG_CPPFLAGS+= -I./xnu/10.10
|
||||
else ifeq ($(basename $(basename $(shell uname -r))),14)
|
||||
# Mac OS X Yosemite
|
||||
FEATURES+= -DHAVE_PF
|
||||
PKG_CPPFLAGS+= -I./xnu/10.9
|
||||
endif
|
||||
endif
|
||||
|
||||
|
6
main.c
6
main.c
@ -222,7 +222,11 @@ main(int argc, char *argv[])
|
||||
|
||||
argv0 = argv[0];
|
||||
opts = opts_new();
|
||||
natengine = strdup(nat_getdefaultname());
|
||||
if (nat_getdefaultname()) {
|
||||
natengine = strdup(nat_getdefaultname());
|
||||
} else {
|
||||
natengine = NULL;
|
||||
}
|
||||
|
||||
while ((ch = getopt(argc, argv, OPT_g OPT_G OPT_Z
|
||||
"k:c:C:K:t:OPs:e:Eu:j:p:l:L:S:dDVh")) != -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user