diff --git a/src/include/gen/autoconfig_msvc.h b/src/include/gen/autoconfig_msvc.h new file mode 100644 index 0000000000..222e12260b --- /dev/null +++ b/src/include/gen/autoconfig_msvc.h @@ -0,0 +1,82 @@ +#ifndef AUTOCONFIG_H +#define AUTOCONFIG_H + +#ifdef _MSC_VER +// turn off some warnings from the inferior MS compiler +#pragma warning(disable: 4099) // class/struct mixups +#pragma warning(disable: 4291) // no matching op. delete (there are) +#pragma warning(disable: 4355) // 'this' used in base member initializer list +#endif + +#ifndef _X86_ +#define _X86_ +#endif + +/* Headers */ +#define HAVE_ASSERT_H +#undef HAVE_UNISTD_H +#define HAVE_FCNTL_H +#undef HAVE_SYS_TYPES_H +#define HAVE_TIME_H +#undef HAVE_SYS_TIME_H +#define HAVE_SYS_STAT_H +#define HAVE_CTYPE_H +#undef HAVE_SYS_UIO_H +#undef HAVE_LIB_IO_H +#undef HAVE_WAIT_H +#undef HAVE_SYS_WAIT_H +#undef HAVE_SYS_PARAM_H +#undef HAVE_VARARGS_H +#define HAVE_STDARG_H +#define HAVE_STDLIB_H +#define HAVE_STRING_H +#define HAVE_SIGNAL_H +#undef HAVE_READLINE_READLINE_H + +/* types */ +#undef socklen_t + + +/* Is the platform big endian? */ +#define WORDS_BIGENDIAN 0 + +/* CPU types */ +#undef PowerPC +#undef sparc +#define i386 +#undef mips +#undef alpha + +/* various OS efforts */ +#undef DARWIN +#undef LINUX +#undef FREEBSD +#undef NETBSD +#undef apollo +#undef sun +#undef SOLARIS +#undef MAC +#undef NeXT +#undef hpux +#undef ultrix +#undef PC_PLATFORM +#undef NETWARE_386 +#undef WINDOWS_ONLY +#undef VMS +#undef AIX +#undef OS2_ONLY +#define WIN_NT +#undef SCO_EV +#undef DGUX +#undef DECOSF +#undef sgi +#undef mpexl +#undef _CRAY +#undef DELTA +#undef M88K +#undef UNIXWARE +#undef NCR3000 +#undef IMP +#undef EPSON + +#endif