summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/ae/_AEmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/ae/_AEmodule.c')
-rw-r--r--Mac/Modules/ae/_AEmodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Modules/ae/_AEmodule.c b/Mac/Modules/ae/_AEmodule.c
index dd154c7..e12a30c 100644
--- a/Mac/Modules/ae/_AEmodule.c
+++ b/Mac/Modules/ae/_AEmodule.c
@@ -7,6 +7,10 @@
#include "pymactoolbox.h"
+#ifndef HAVE_OSX105_SDK
+typedef SInt32 SRefCon;
+#endif
+
/* Macro to test whether a weak-loaded CFM function exists */
#define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\
PyErr_SetString(PyExc_NotImplementedError, \