diff options
Diffstat (limited to 'Mac/Modules/fm')
-rw-r--r-- | Mac/Modules/fm/_Fmmodule.c | 10 | ||||
-rw-r--r-- | Mac/Modules/fm/fmsupport.py | 4 |
2 files changed, 3 insertions, 11 deletions
diff --git a/Mac/Modules/fm/_Fmmodule.c b/Mac/Modules/fm/_Fmmodule.c index 095fe3a..cba96e0 100644 --- a/Mac/Modules/fm/_Fmmodule.c +++ b/Mac/Modules/fm/_Fmmodule.c @@ -14,17 +14,13 @@ /* Macro to test whether a weak-loaded CFM function exists */ #define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\ - PyErr_SetString(PyExc_NotImplementedError, \ - "Not available in this shared library/OS version"); \ - return NULL; \ + PyErr_SetString(PyExc_NotImplementedError, \ + "Not available in this shared library/OS version"); \ + return NULL; \ }} while(0) -#ifdef WITHOUT_FRAMEWORKS -#include <Fonts.h> -#else #include <Carbon/Carbon.h> -#endif /* diff --git a/Mac/Modules/fm/fmsupport.py b/Mac/Modules/fm/fmsupport.py index 20ae292..07b944e 100644 --- a/Mac/Modules/fm/fmsupport.py +++ b/Mac/Modules/fm/fmsupport.py @@ -26,11 +26,7 @@ TextBuffer = RevVarInputBufferType() includestuff = includestuff + """ -#ifdef WITHOUT_FRAMEWORKS -#include <Fonts.h> -#else #include <Carbon/Carbon.h> -#endif /* |