diffs.vms 5.57 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192
--------------------------------------------------------------------------
GLOBALS.C

105a106
> int xmlDoValidityCheckingDefaultValue = 0;
111,121c112,113
< #if defined(VMS) || defined(__VMS)
<   #define PLATFORM_VMS
< /* int xmlDoValidityCheckingDefaultVal = 0;
<  * int xmlSubstituteEntitiesDefaultVal = 0;
<  */
<   #define xmlDoValidityCheckingDefaultValue xmlDoValidityCheckingDefaultVal 
<   #define xmlSubstituteEntitiesDefaultValue xmlSubstituteEntitiesDefaultVal 
< #else
<   int xmlDoValidityCheckingDefaultValue = 0;
<   int xmlSubstituteEntitiesDefaultValue = 0;
< #endif
---
> int xmlSubstituteEntitiesDefaultValue = 0;
> 
289,291d280
< #ifdef PLATFORM_VMS
<     gs->xmlDoValidityCheckingDefaultVal = 0;
< #else
293,294d281
< #endif
< 
316,318d302
< #ifdef PLATFORM_VMS
<     gs->xmlSubstituteEntitiesDefaultVal = 0;
< #else
320d303
< #endif
404,419c387,390
< #ifdef PLATFORM_VMS
<   extern int xmlDoValidityCheckingDefaultVal;
<   #undef     xmlDoValidityCheckingDefaultVal
<   int *
<   __xmlDoValidityCheckingDefVal(void) {
<     if (IS_MAIN_THREAD)
< 	return (&xmlDoValidityCheckingDefaultVal);
<     else
< 	return (&xmlGetGlobalState()->xmlDoValidityCheckingDefaultVal);
<   }
<   #define __xmlDoValidityCheckingDefaultValue __xmlDoValidityCheckingDefVal
< #else
<   extern int xmlDoValidityCheckingDefaultValue;
<   #undef	xmlDoValidityCheckingDefaultValue
<   int *
<   __xmlDoValidityCheckingDefaultValue(void) {
---
> extern int xmlDoValidityCheckingDefaultValue;
> #undef	xmlDoValidityCheckingDefaultValue
> int *
> __xmlDoValidityCheckingDefaultValue(void) {
424,425c395
<   }
< #endif
---
> }
577,592c547,550
< #ifdef PLATFORM_VMS
<   extern int xmlSubstituteEntitiesDefaultVal;
<   #undef     xmlSubstituteEntitiesDefaultVal
<   int *
<   __xmlSubsEntitiesDefaultValue(void) {
<     if (IS_MAIN_THREAD)
< 	return (&xmlSubstituteEntitiesDefaultVal);
<     else
< 	return (&xmlGetGlobalState()->xmlSubstituteEntitiesDefaultVal);
<   }
<   #define __xmlSubstituteEntitiesDefaultValue __xmlSubsEntitiesDefaultValue
< #else
<   extern int xmlSubstituteEntitiesDefaultValue;
<   #undef	xmlSubstituteEntitiesDefaultValue
<   int *
<   __xmlSubstituteEntitiesDefaultValue(void) {
---
> extern int xmlSubstituteEntitiesDefaultValue;
> #undef	xmlSubstituteEntitiesDefaultValue
> int *
> __xmlSubstituteEntitiesDefaultValue(void) {
597,598c555
<   }
< #endif
---
> }


--------------------------------------------------------------------------
TRIO.C
113,116d112
< #if defined(VMS) || defined(__VMS)
< # include <unistd.h>
< #endif /* Platform is VMS */
< 
123d118
< 


--------------------------------------------------------------------------
GLOBALS.H
78,86c78,79
< #if defined(VMS) || defined(__VMS)
<         int xmlSubstituteEntitiesDefaultVal;    /* 31 character name limit */
<         int xmlDoValidityCheckingDefaultVal;
< #define xmlSubstituteEntitiesDefaultValue       xmlSubstituteEntitiesDefaultVal
< #define xmlDoValidityCheckingDefaultValue       xmlDoValidityCheckingDefaultVal
< #else
<         int xmlSubstituteEntitiesDefaultValue;
<         int xmlDoValidityCheckingDefaultValue;
< #endif
---
> 	int xmlSubstituteEntitiesDefaultValue;
> 	int xmlDoValidityCheckingDefaultValue;
211,226c204,209
< #if defined(VMS) || defined(__VMS)
<   #ifdef LIBXML_THREAD_ENABLED
<   extern int *__xmlDoValidityCheckingDefaultVal(void);
<   #define xmlDoValidityCheckingDefaultVal \
<   (*(__xmlDoValidityCheckingDefaultVal()))
<   #else
<   LIBXML_DLL_IMPORT extern int xmlDoValidityCheckingDefaultVal;
<   #endif
< #else
<   #ifdef LIBXML_THREAD_ENABLED
<   extern int *__xmlDoValidityCheckingDefaultValue(void);
<   #define xmlDoValidityCheckingDefaultValue \
<   (*(__xmlDoValidityCheckingDefaultValue()))
<   #else
<   LIBXML_DLL_IMPORT extern int xmlDoValidityCheckingDefaultValue;
<   #endif
---
> #ifdef LIBXML_THREAD_ENABLED
> extern int *__xmlDoValidityCheckingDefaultValue(void);
> #define xmlDoValidityCheckingDefaultValue \
> (*(__xmlDoValidityCheckingDefaultValue()))
> #else
> LIBXML_DLL_IMPORT extern int xmlDoValidityCheckingDefaultValue;
317,332c300,305
< #if defined(VMS) || defined(__VMS)
<   #ifdef LIBXML_THREAD_ENABLED
<   extern int *__xmlSubsEntitiesDefaultValue(void);
<   #define xmlSubsEntitiesDefaultValue \
<   (*(__xmlSubsEntitiesDefaultValue()))
<   #else
<   LIBXML_DLL_IMPORT extern int xmlSubsEntitiesDefaultValue;
<   #endif
< #else
<   #ifdef LIBXML_THREAD_ENABLED
<   extern int *__xmlSubstituteEntitiesDefaultValue(void);
<   #define xmlSubstituteEntitiesDefaultValue \
<   (*(__xmlSubstituteEntitiesDefaultValue()))
<   #else
<   LIBXML_DLL_IMPORT extern int xmlSubstituteEntitiesDefaultValue;
<   #endif
---
> #ifdef LIBXML_THREAD_ENABLED
> extern int *__xmlSubstituteEntitiesDefaultValue(void);
> #define xmlSubstituteEntitiesDefaultValue \
> (*(__xmlSubstituteEntitiesDefaultValue()))
> #else
> LIBXML_DLL_IMPORT extern int xmlSubstituteEntitiesDefaultValue;


--------------------------------------------------------------------------
XMLIO.H
79,82d78
< #if defined(VMS) || defined(__VMS)
< void	xmlRegisterDefInputCallbacks		(void);
< #define xmlRegisterDefaultInputCallbacks xmlRegisterDefInputCallbacks
< #else
84d79
< #endif
130,133d124
< #if defined(VMS) || defined(__VMS)
< void	xmlRegisterDefOutputCallbacks(void);
< #define xmlRegisterDefaultOutputCallbacks xmlRegisterDefOutputCallbacks
< #else
135,136d125
< #endif
< 

--------------------------------------------------------------------------
XPATHINTERNALS.H
433,436d432
< #if defined(VMS) || defined(__VMS)
< void		   xmlXPathRegisteredVarsCleanup(xmlXPathContextPtr ctxt);
< #define xmlXPathRegisteredVariablesCleanup xmlXPathRegisteredVarsCleanup
< #else
438d433
< #endif