Skip to content

Commit 38f3d28

Browse files
committed
Changes for python3 compilation
1 parent d0e0648 commit 38f3d28

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/gnumake-mac-gcc.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ _LOCAL_LIBRARY := /Library/Python/$(PY_MAJOR_VERSION).$(PY_MINOR_VERSION)
66
_SYSTEM_LIBRARY := /System/Library/Python/$(PY_MAJOR_VERSION).$(PY_MINOR_VERSION)
77
88
DEFS += -DPY_EXPORTS
9-
INCPATH += -F/Library/Frameworks -framework Python
9+
#INCPATH += -F/Library/Frameworks -framework Python
1010
1111
ifeq ($(PY_DEFAULT),1)
1212
LIBS += $(_SYSTEM_FRAMEWORK)/Python

source/pyprefix.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ WARRANTIES, see the file, "license.txt," in this distribution.
1616
// otherwise some functions don't get defined
1717
#include <cmath>
1818

19-
#if FLEXT_OS == FLEXT_OS_MAC
19+
#if 0 //FLEXT_OS == FLEXT_OS_MAC
2020
#include <Python/Python.h>
2121
#else
2222
#include <Python.h>

0 commit comments

Comments
 (0)