aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/native/NewtMacWindow.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-05-31 16:45:38 +0200
committerSven Gothel <[email protected]>2010-05-31 16:45:38 +0200
commit2cb29a4ad410929cc365e15271f35fc3826dc6a7 (patch)
treee35ee7b1a275b7a1a883e86ec2a14cc6b0ca3d69 /src/newt/native/NewtMacWindow.h
parentd654c1aba06b37e159e812a0c9bb1951ee1ba317 (diff)
Allow build on OSX 10.5 (thanks to sed)
Diffstat (limited to 'src/newt/native/NewtMacWindow.h')
-rw-r--r--src/newt/native/NewtMacWindow.h2
1 files changed, 1 insertions, 1 deletions
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 <NSWindowDelegate>
#else
@interface NewtMacWindow : NSWindow