зеркало из https://github.com/mozilla/pjs.git
fixed AIX build problem
This commit is contained in:
Родитель
41c4c9a227
Коммит
30fc451f52
|
@ -330,7 +330,7 @@ nsITokenizer* CWellFormedDTD::GetTokenizer(void) {
|
|||
#ifndef XP_MAC
|
||||
char* theEnvString = PR_GetEnv("EXPAT");
|
||||
if(theEnvString){
|
||||
if(('1'==theEnvString[0]) || ('Y'==toupper(theEnvString[0]))) {
|
||||
if(('1'==theEnvString[0]) || ('Y'==theEnvString[0]) || ('y'==theEnvString[0])) {
|
||||
theExpatState=PR_TRUE; //this indicates that the EXPAT flag was found in the environment.
|
||||
}
|
||||
}
|
||||
|
|
|
@ -330,7 +330,7 @@ nsITokenizer* CWellFormedDTD::GetTokenizer(void) {
|
|||
#ifndef XP_MAC
|
||||
char* theEnvString = PR_GetEnv("EXPAT");
|
||||
if(theEnvString){
|
||||
if(('1'==theEnvString[0]) || ('Y'==toupper(theEnvString[0]))) {
|
||||
if(('1'==theEnvString[0]) || ('Y'==theEnvString[0]) || ('y'==theEnvString[0])) {
|
||||
theExpatState=PR_TRUE; //this indicates that the EXPAT flag was found in the environment.
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче