- fix Tiger build
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Dec 2007 00:02:56 +0000 (00:02 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Dec 2007 00:02:56 +0000 (00:02 +0000)
        * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: Tiger didn't even have
        QTKIT_VERSION_MAX_ALLOWED, so add logic to work without that.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28542 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm

index 28ab13aa9b7d17e460db60b8899df4beab905314..6c22252e9c0a7bc0d28b55b1ec2626820cc523c9 100644 (file)
@@ -1,3 +1,10 @@
+2007-12-07  Darin Adler  <darin@apple.com>
+
+        - fix Tiger build
+
+        * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: Tiger didn't even have
+        QTKIT_VERSION_MAX_ALLOWED, so add logic to work without that.
+
 2007-12-07  Darin Adler  <darin@apple.com>
 
         - fix 64-bit build, hopefully without breaking Tiger build
index 0acac9b96d7de70a7b3bcd663f6d365a951aa9cc..0f02adaa97c90c2b3b0a8fb8b4c135d19f9e8bf2 100644 (file)
@@ -74,7 +74,7 @@ SOFT_LINK_POINTER(QTKit, QTMovieVolumeDidChangeNotification, NSString *)
 #define QTMovieVolumeDidChangeNotification getQTMovieVolumeDidChangeNotification()
 
 // Older versions of the QTKit header don't have these constants.
-#if QTKIT_VERSION_MAX_ALLOWED <= QTKIT_VERSION_7_0
+#if !defined QTKIT_VERSION_MAX_ALLOWED || QTKIT_VERSION_MAX_ALLOWED <= QTKIT_VERSION_7_0
 enum {
     QTMovieLoadStateLoaded  = 2000L,
     QTMovieLoadStatePlayable = 10000L,