src/java.desktop/share/native/liblcms/cmscgats.c
Print this page
rev 10611 : 8057934: Upgrade to LittleCMS 2.6 breaks AIX build
@@ -75,11 +75,11 @@
// Symbols
typedef enum {
- SNONE,
+ SVOID,
SINUM, // Integer
SDNUM, // Real
SIDENT, // Identifier
SSTRING, // string
SCOMMENT, // comment
@@ -548,11 +548,11 @@
if (res == 0) return TabKeys[x-1].sy;
if (res < 0) r = x - 1;
else l = x + 1;
}
- return SNONE;
+ return SVOID;
}
// 10 ^n
static
@@ -733,11 +733,11 @@
*idptr = '\0';
key = BinSrchKey(it8->id);
- if (key == SNONE) it8->sy = SIDENT;
+ if (key == SVOID) it8->sy = SIDENT;
else it8->sy = key;
}
else // Is a number?
if (isdigit(it8->ch) || it8->ch == '.' || it8->ch == '-' || it8->ch == '+')
@@ -1324,11 +1324,11 @@
it8->Allocator.BlockSize = 0;
it8->ValidKeywords = NULL;
it8->ValidSampleID = NULL;
- it8 -> sy = SNONE;
+ it8 -> sy = SVOID;
it8 -> ch = ' ';
it8 -> Source = NULL;
it8 -> inum = 0;
it8 -> dnum = 0.0;