mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Got the first MacPython module working under MacOSX/MachO (gestalt). Main changes
are including Carbon/Carbon.h in stead of the old headers (unless WITHOUT_FRAMEWORKS is defined, as it will be for classic MacPython) and selectively disabling all the stuff that is unneeded in a unix-Python (event handling, etc).
This commit is contained in:
parent
6e68a7e74f
commit
0194ad5c7d
3 changed files with 55 additions and 54 deletions
|
|
@ -27,8 +27,12 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#include "Python.h"
|
||||
#include "macglue.h"
|
||||
|
||||
#ifdef WITHOUT_FRAMEWORKS
|
||||
#include <Types.h>
|
||||
#include <Gestalt.h>
|
||||
#else
|
||||
#include <Carbon/Carbon.h>
|
||||
#endif
|
||||
|
||||
static PyObject *
|
||||
gestalt_gestalt(self, args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue