summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/mlte/_Mltemodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/mlte/_Mltemodule.c')
-rw-r--r--Mac/Modules/mlte/_Mltemodule.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mac/Modules/mlte/_Mltemodule.c b/Mac/Modules/mlte/_Mltemodule.c
index d4f3476..7254015 100644
--- a/Mac/Modules/mlte/_Mltemodule.c
+++ b/Mac/Modules/mlte/_Mltemodule.c
@@ -5,8 +5,12 @@
+#ifdef _WIN32
+#include "pywintoolbox.h"
+#else
#include "macglue.h"
#include "pymactoolbox.h"
+#endif
/* Macro to test whether a weak-loaded CFM function exists */
#define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\
@@ -683,7 +687,6 @@ static PyObject *TXNObj_TXNSetData(TXNObjectObject *_self, PyObject *_args)
if (_err != noErr) return PyMac_Error(_err);
Py_INCREF(Py_None);
_res = Py_None;
- iDataPtr__error__: ;
return _res;
}