From fb2d418327bf152b9fd87424d44a7909db1e9330 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 2 Jan 2014 20:34:14 +0100 Subject: 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. --- waftools/fragments/cocoa.m | 2 ++ 1 file changed, 2 insertions(+) (limited to 'waftools/fragments') 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 #import +#include "osdep/macosx_compat.h" + int main(int argc, char **argv) { @autoreleasepool { NSArray *ary = @[@1, @2, @3]; -- cgit v1.2.3