define WSAAPI to empty if it is undefined, just for safety

This commit is contained in:
Riccardo Mottola 2020-06-19 09:03:06 +02:00
parent 919f8c16d0
commit e1c32adb77
2 changed files with 10 additions and 0 deletions

View file

@ -39,6 +39,11 @@
#define INT16SZ 2 /* for systems without 16-bit ints */
#endif
#ifndef WSAAPI
#define WSAAPI
#endif
/*
* WARNING: Don't even consider trying to compile this on a system where
* sizeof(int) < 4. sizeof(int) > 4 is fine; all the world's not a VAX.

View file

@ -41,6 +41,11 @@
#include <arpa/nameser.h>
#endif
#ifndef WSAAPI
#define WSAAPI
#endif
/*
* WARNING: Don't even consider trying to compile this on a system where
* sizeof(int) < 4. sizeof(int) > 4 is fine; all the world's not a VAX.