diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-01-02 20:34:14 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-01-02 20:42:03 +0100 |
commit | fb2d418327bf152b9fd87424d44a7909db1e9330 (patch) | |
tree | e8facd63ed340da8f62f40f99d7bca30a01205c2 /waftools/fragments | |
parent | 52fa38079db796dd87e40ee6890b5d1005139a08 (diff) |
build: fix cocoa configure check on OS X 10.7
It failed because the 10.7 SDK doesn't natively support array and dictionary
subscripting.
Diffstat (limited to 'waftools/fragments')
-rw-r--r-- | waftools/fragments/cocoa.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/waftools/fragments/cocoa.m b/waftools/fragments/cocoa.m index 6e0e4d32b4..8096afb613 100644 --- a/waftools/fragments/cocoa.m +++ b/waftools/fragments/cocoa.m @@ -2,6 +2,8 @@ #import <OpenGL/OpenGL.h> #import <Cocoa/Cocoa.h> +#include "osdep/macosx_compat.h" + int main(int argc, char **argv) { @autoreleasepool { NSArray *ary = @[@1, @2, @3]; |