From 2cb29a4ad410929cc365e15271f35fc3826dc6a7 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 31 May 2010 16:45:38 +0200 Subject: Allow build on OSX 10.5 (thanks to sed) --- src/newt/native/NewtMacWindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/newt/native/NewtMacWindow.h b/src/newt/native/NewtMacWindow.h index 4f0561dd5..7f0cd60c6 100644 --- a/src/newt/native/NewtMacWindow.h +++ b/src/newt/native/NewtMacWindow.h @@ -55,7 +55,7 @@ @end -#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 +#if defined(MAC_OS_X_VERSION_10_6) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 @interface NewtMacWindow : NSWindow #else @interface NewtMacWindow : NSWindow -- cgit v1.2.3