1-------------------------------------------------------------------------- 2GLOBALS.C 3 4105a106 5> int xmlDoValidityCheckingDefaultValue = 0; 6111,121c112,113 7< #if defined(VMS) || defined(__VMS) 8< #define PLATFORM_VMS 9< /* int xmlDoValidityCheckingDefaultVal = 0; 10< * int xmlSubstituteEntitiesDefaultVal = 0; 11< */ 12< #define xmlDoValidityCheckingDefaultValue xmlDoValidityCheckingDefaultVal 13< #define xmlSubstituteEntitiesDefaultValue xmlSubstituteEntitiesDefaultVal 14< #else 15< int xmlDoValidityCheckingDefaultValue = 0; 16< int xmlSubstituteEntitiesDefaultValue = 0; 17< #endif 18--- 19> int xmlSubstituteEntitiesDefaultValue = 0; 20> 21289,291d280 22< #ifdef PLATFORM_VMS 23< gs->xmlDoValidityCheckingDefaultVal = 0; 24< #else 25293,294d281 26< #endif 27< 28316,318d302 29< #ifdef PLATFORM_VMS 30< gs->xmlSubstituteEntitiesDefaultVal = 0; 31< #else 32320d303 33< #endif 34404,419c387,390 35< #ifdef PLATFORM_VMS 36< extern int xmlDoValidityCheckingDefaultVal; 37< #undef xmlDoValidityCheckingDefaultVal 38< int * 39< __xmlDoValidityCheckingDefVal(void) { 40< if (IS_MAIN_THREAD) 41< return (&xmlDoValidityCheckingDefaultVal); 42< else 43< return (&xmlGetGlobalState()->xmlDoValidityCheckingDefaultVal); 44< } 45< #define __xmlDoValidityCheckingDefaultValue __xmlDoValidityCheckingDefVal 46< #else 47< extern int xmlDoValidityCheckingDefaultValue; 48< #undef xmlDoValidityCheckingDefaultValue 49< int * 50< __xmlDoValidityCheckingDefaultValue(void) { 51--- 52> extern int xmlDoValidityCheckingDefaultValue; 53> #undef xmlDoValidityCheckingDefaultValue 54> int * 55> __xmlDoValidityCheckingDefaultValue(void) { 56424,425c395 57< } 58< #endif 59--- 60> } 61577,592c547,550 62< #ifdef PLATFORM_VMS 63< extern int xmlSubstituteEntitiesDefaultVal; 64< #undef xmlSubstituteEntitiesDefaultVal 65< int * 66< __xmlSubsEntitiesDefaultValue(void) { 67< if (IS_MAIN_THREAD) 68< return (&xmlSubstituteEntitiesDefaultVal); 69< else 70< return (&xmlGetGlobalState()->xmlSubstituteEntitiesDefaultVal); 71< } 72< #define __xmlSubstituteEntitiesDefaultValue __xmlSubsEntitiesDefaultValue 73< #else 74< extern int xmlSubstituteEntitiesDefaultValue; 75< #undef xmlSubstituteEntitiesDefaultValue 76< int * 77< __xmlSubstituteEntitiesDefaultValue(void) { 78--- 79> extern int xmlSubstituteEntitiesDefaultValue; 80> #undef xmlSubstituteEntitiesDefaultValue 81> int * 82> __xmlSubstituteEntitiesDefaultValue(void) { 83597,598c555 84< } 85< #endif 86--- 87> } 88 89 90-------------------------------------------------------------------------- 91TRIO.C 92113,116d112 93< #if defined(VMS) || defined(__VMS) 94< # include <unistd.h> 95< #endif /* Platform is VMS */ 96< 97123d118 98< 99 100 101-------------------------------------------------------------------------- 102GLOBALS.H 10378,86c78,79 104< #if defined(VMS) || defined(__VMS) 105< int xmlSubstituteEntitiesDefaultVal; /* 31 character name limit */ 106< int xmlDoValidityCheckingDefaultVal; 107< #define xmlSubstituteEntitiesDefaultValue xmlSubstituteEntitiesDefaultVal 108< #define xmlDoValidityCheckingDefaultValue xmlDoValidityCheckingDefaultVal 109< #else 110< int xmlSubstituteEntitiesDefaultValue; 111< int xmlDoValidityCheckingDefaultValue; 112< #endif 113--- 114> int xmlSubstituteEntitiesDefaultValue; 115> int xmlDoValidityCheckingDefaultValue; 116211,226c204,209 117< #if defined(VMS) || defined(__VMS) 118< #ifdef LIBXML_THREAD_ENABLED 119< extern int *__xmlDoValidityCheckingDefaultVal(void); 120< #define xmlDoValidityCheckingDefaultVal \ 121< (*(__xmlDoValidityCheckingDefaultVal())) 122< #else 123< LIBXML_DLL_IMPORT extern int xmlDoValidityCheckingDefaultVal; 124< #endif 125< #else 126< #ifdef LIBXML_THREAD_ENABLED 127< extern int *__xmlDoValidityCheckingDefaultValue(void); 128< #define xmlDoValidityCheckingDefaultValue \ 129< (*(__xmlDoValidityCheckingDefaultValue())) 130< #else 131< LIBXML_DLL_IMPORT extern int xmlDoValidityCheckingDefaultValue; 132< #endif 133--- 134> #ifdef LIBXML_THREAD_ENABLED 135> extern int *__xmlDoValidityCheckingDefaultValue(void); 136> #define xmlDoValidityCheckingDefaultValue \ 137> (*(__xmlDoValidityCheckingDefaultValue())) 138> #else 139> LIBXML_DLL_IMPORT extern int xmlDoValidityCheckingDefaultValue; 140317,332c300,305 141< #if defined(VMS) || defined(__VMS) 142< #ifdef LIBXML_THREAD_ENABLED 143< extern int *__xmlSubsEntitiesDefaultValue(void); 144< #define xmlSubsEntitiesDefaultValue \ 145< (*(__xmlSubsEntitiesDefaultValue())) 146< #else 147< LIBXML_DLL_IMPORT extern int xmlSubsEntitiesDefaultValue; 148< #endif 149< #else 150< #ifdef LIBXML_THREAD_ENABLED 151< extern int *__xmlSubstituteEntitiesDefaultValue(void); 152< #define xmlSubstituteEntitiesDefaultValue \ 153< (*(__xmlSubstituteEntitiesDefaultValue())) 154< #else 155< LIBXML_DLL_IMPORT extern int xmlSubstituteEntitiesDefaultValue; 156< #endif 157--- 158> #ifdef LIBXML_THREAD_ENABLED 159> extern int *__xmlSubstituteEntitiesDefaultValue(void); 160> #define xmlSubstituteEntitiesDefaultValue \ 161> (*(__xmlSubstituteEntitiesDefaultValue())) 162> #else 163> LIBXML_DLL_IMPORT extern int xmlSubstituteEntitiesDefaultValue; 164 165 166-------------------------------------------------------------------------- 167XMLIO.H 16879,82d78 169< #if defined(VMS) || defined(__VMS) 170< void xmlRegisterDefInputCallbacks (void); 171< #define xmlRegisterDefaultInputCallbacks xmlRegisterDefInputCallbacks 172< #else 17384d79 174< #endif 175130,133d124 176< #if defined(VMS) || defined(__VMS) 177< void xmlRegisterDefOutputCallbacks(void); 178< #define xmlRegisterDefaultOutputCallbacks xmlRegisterDefOutputCallbacks 179< #else 180135,136d125 181< #endif 182< 183 184-------------------------------------------------------------------------- 185XPATHINTERNALS.H 186433,436d432 187< #if defined(VMS) || defined(__VMS) 188< void xmlXPathRegisteredVarsCleanup(xmlXPathContextPtr ctxt); 189< #define xmlXPathRegisteredVariablesCleanup xmlXPathRegisteredVarsCleanup 190< #else 191438d433 192< #endif 193