summaryrefslogtreecommitdiffstats
path: root/macosx/main.mm
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/main.mm')
-rw-r--r--macosx/main.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/macosx/main.mm b/macosx/main.mm
index 9927a44e7..5f73a0c60 100644
--- a/macosx/main.mm
+++ b/macosx/main.mm
@@ -25,8 +25,14 @@ void hb_error_handler( const char *errmsg )
}
}
+extern "C" {
+extern int mm_flags;
+int mm_support();
+}
+
int main( int argc, const char ** argv )
{
+ mm_flags = mm_support();
signal( SIGINT, SigHandler );
hb_register_error_handler(&hb_error_handler);
return NSApplicationMain( argc, argv );