diff --git a/src/cocoa_window.m b/src/cocoa_window.m index 30374dc59..4cf976ac3 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -36,6 +36,8 @@ #include #include +#define nullptr ((void*)0) // i like c++ + // HACK: This enum value is missing from framework headers on OS X 10.11 despite // having been (according to documentation) added in Mac OS X 10.7 #define NSWindowCollectionBehaviorFullScreenNone (1 << 9)