mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
Big OpenVMS patch: - nanohttp.c parser.[ch] tree.[ch] xmlIO.[ch] xmllint.c
Big OpenVMS patch: - nanohttp.c parser.[ch] tree.[ch] xmlIO.[ch] xmllint.c xpath.c parserInternals.h vms/build_libxml.com vms/config.vms Makefile.am: integrated a set of OpenVMS changes from Howard Taylor <Howard.Taylor@pacoast.com> Daniel
This commit is contained in:
@ -61,6 +61,12 @@
|
||||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
#ifdef VMS
|
||||
#include <stropts>
|
||||
#define SOCKLEN_T unsigned int
|
||||
#define SOCKET int
|
||||
#endif
|
||||
|
||||
#include <libxml/xmlmemory.h>
|
||||
#include <libxml/parser.h> /* for xmlStr(n)casecmp() */
|
||||
#include <libxml/nanohttp.h>
|
||||
@ -662,7 +668,7 @@ xmlNanoHTTPConnectAttempt(struct in_addr ia, int port)
|
||||
#if defined(VMS)
|
||||
{
|
||||
int enable = 1;
|
||||
status = IOCTL(s, FIONBIO, &enable);
|
||||
status = ioctl(s, FIONBIO, &enable);
|
||||
}
|
||||
#else /* VMS */
|
||||
if ((status = fcntl(s, F_GETFL, 0)) != -1) {
|
||||
|
Reference in New Issue
Block a user