#include "varattrs.h"
/*
+ * If we're compiling with Visual Studio, make sure we have at least
+ * VS 2015 or later, so we have sufficient C99 support.
+ *
* XXX - verify that we have at least C99 support on UN*Xes?
*
* What about MinGW or various DOS toolchains? We're currently assuming
*/
/*
+ * Include <inttypes.h> to get the integer types and PRi[doux]64 values
+ * defined.
+ *
* If the compiler is MSVC, we require VS 2015 or newer, so we
* have <inttypes.h> - and support for %zu in the formatted
* printing functions.
#include <stdio.h>
#include <winsock2.h>
#include <ws2tcpip.h>
-#include <ctype.h>
#include <time.h>
#include <io.h>
#include <fcntl.h>
* by adding a preceding underscore; we *want* the UN*Xisms, so add
* #defines to let us use them.
*/
- #define isascii __isascii
#define isatty _isatty
#define stat _stat
#define strdup _strdup
* Includes and definitions for various flavors of UN*X.
*/
-#include <ctype.h>
#include <unistd.h>
#include <netdb.h>
#include <sys/param.h>