diff options
Diffstat (limited to 'Mac/Modules/evt/evtsupport.py')
-rw-r--r-- | Mac/Modules/evt/evtsupport.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Mac/Modules/evt/evtsupport.py b/Mac/Modules/evt/evtsupport.py index 7725ded..88ee6c2 100644 --- a/Mac/Modules/evt/evtsupport.py +++ b/Mac/Modules/evt/evtsupport.py @@ -35,7 +35,12 @@ EventMask = Type("EventMask", "H") EventKind = Type("EventKind", "H") includestuff = includestuff + """ -#include <%s>""" % MACHEADERFILE + """ +#ifdef WITHOUT_FRAMEWORKS +#include <Events.h> +#else +#include <Carbon/Carbon.h> +#endif + """ class MyObjectDefinition(GlobalObjectDefinition): |