src/video/cocoa/wnd_quartz.mm
changeset 8588 9a8122b510f9
parent 8535 cda5ffec8999
child 8623 652df321c912
--- a/src/video/cocoa/wnd_quartz.mm	Mon Dec 17 01:35:45 2007 +0000
+++ b/src/video/cocoa/wnd_quartz.mm	Mon Dec 17 07:47:21 2007 +0000
@@ -7,6 +7,7 @@
  ******************************************************************************/
 
 #ifdef WITH_COCOA
+#ifdef ENABLE_COCOA_QUARTZ
 
 #include <AvailabilityMacros.h>
 
@@ -782,8 +783,8 @@
 {
 	WindowQuartzSubdriver *ret;
 
-	if (!MacOSVersionIsAtLeast(10, 5, 0)) {
-		DEBUG(driver, 0, "The cocoa quartz subdriver requires Mac OS X 10.5 or later.");
+	if (!MacOSVersionIsAtLeast(10, 4, 0)) {
+		DEBUG(driver, 0, "The cocoa quartz subdriver requires Mac OS X 10.4 or later.");
 		return NULL;
 	}
 
@@ -802,5 +803,7 @@
 	return ret;
 }
 
+
 #endif /* MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4 */
+#endif /* ENABLE_COCOA_QUARTZ */
 #endif /* WITH_COCOA */