8057934: Upgrade to LittleCMS 2.6 breaks AIX build
authorsimonis
Wed, 10 Sep 2014 11:01:59 +0200
changeset 26739 3d7d13b86ff0
parent 26738 e3136e7e7046
child 26740 3c3ee0f28317
8057934: Upgrade to LittleCMS 2.6 breaks AIX build Reviewed-by: prr, serb
jdk/src/java.desktop/share/native/liblcms/cmscgats.c
--- a/jdk/src/java.desktop/share/native/liblcms/cmscgats.c	Tue Sep 09 18:32:44 2014 +0400
+++ b/jdk/src/java.desktop/share/native/liblcms/cmscgats.c	Wed Sep 10 11:01:59 2014 +0200
@@ -77,7 +77,7 @@
 // Symbols
 typedef enum {
 
-        SNONE,
+        SUNDEFINED,
         SINUM,      // Integer
         SDNUM,      // Real
         SIDENT,     // Identifier
@@ -550,7 +550,7 @@
         else l = x + 1;
     }
 
-    return SNONE;
+    return SUNDEFINED;
 }
 
 
@@ -735,7 +735,7 @@
 
 
             key = BinSrchKey(it8->id);
-            if (key == SNONE) it8->sy = SIDENT;
+            if (key == SUNDEFINED) it8->sy = SIDENT;
             else it8->sy = key;
 
         }
@@ -1326,7 +1326,7 @@
     it8->ValidKeywords = NULL;
     it8->ValidSampleID = NULL;
 
-    it8 -> sy = SNONE;
+    it8 -> sy = SUNDEFINED;
     it8 -> ch = ' ';
     it8 -> Source = NULL;
     it8 -> inum = 0;