Better Tiger build fix.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 12 Sep 2006 03:58:44 +0000 (03:58 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 12 Sep 2006 03:58:44 +0000 (03:58 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16314 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/bindings/objc/objc_utility.mm

index 0b2849b3a9b120c3e48ac649626a566d297e754e..64680749a82343ce6b8e55e1cfa14394709f17d0 100644 (file)
 
 #include "WebScriptObject.h"
 
+#if !defined(_C_LNG_LNG)
+#define _C_LNG_LNG 'q'
+#endif
+
+#if !defined(_C_ULNG_LNG)
+#define _C_ULNG_LNG 'Q'
+#endif
+
+#if !defined(_C_CONST)
+#define _C_CONST 'r'
+#endif
+
 #if !defined(_C_BYCOPY)
 #define _C_BYCOPY 'O'
 #endif
@@ -287,7 +299,7 @@ ObjcValueType objcValueTypeForType(const char *type)
     for (int i = 0; i < typeLength; ++i) {
         char typeChar = type[i];
         switch (typeChar) {
-            //case _C_CONST:
+            case _C_CONST:
             case _C_BYCOPY:
             case _C_BYREF:
             case _C_ONEWAY:
@@ -321,12 +333,12 @@ ObjcValueType objcValueTypeForType(const char *type)
             case _C_ULNG:
                 objcValueType = ObjcUnsignedLongType;
                 break;
-            /*case _C_LNG_LNG:
+            case _C_LNG_LNG:
                 objcValueType = ObjcLongLongType;
                 break;
             case _C_ULNG_LNG:
                 objcValueType = ObjcUnsignedLongLongType;
-                break;*/
+                break;
             case _C_FLT:
                 objcValueType = ObjcFloatType;
                 break;