diff options
author | Stéphane Michaut <smichaut@axway.com> | 2017-08-28 14:30:43 +0200 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2017-08-28 14:30:43 +0200 |
commit | 454e397eb7dd0fe219fa681eeadfaf2a64a3aeec (patch) | |
tree | 8a6ae17944eb76245214d484769acef3ab041579 /xmlmodule.c | |
parent | 3aca7f31cb9901dc3af449e08dda647898bfc1fe (diff) | |
download | libxml2-454e397eb7dd0fe219fa681eeadfaf2a64a3aeec.tar.gz |
Porting libxml2 on zOS encoding of code
First set of patches for zOS
- entities.c parser.c tree.c xmlschemas.c xmlschemastypes.c xpath.c xpointer.c:
ask conversion of code to ISO Latin 1 to avoid having the compiler assume
EBCDIC codepoint for characters.
- xmlmodule.c: make sure we have support for modules
- xmlIO.c: zOS path names are special avoid dsome of the expectstions from
Unix/Windows
Diffstat (limited to 'xmlmodule.c')
-rw-r--r-- | xmlmodule.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmlmodule.c b/xmlmodule.c index 50ed666a..7f70f9cb 100644 --- a/xmlmodule.c +++ b/xmlmodule.c @@ -8,6 +8,11 @@ * http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html */ +/* In order RTLD_GLOBAL and RTLD_NOW to be defined on zOS */ +#if defined(__MVS__) +#define _UNIX03_SOURCE +#endif + #define IN_LIBXML #include "libxml.h" |