8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-01 04:43:03 +01:00
firebird-mirror/src/include/gen/autoconfig_msvc.h

86 lines
1.7 KiB
C
Raw Normal View History

2002-02-16 03:21:35 +01:00
/*
2002-02-16 06:06:17 +01:00
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete ports:
* - MAC (MAC, MAC_AUX and "MAC_CP" defines)
* - EPSON, DELTA, IMP, NCR3000, NeXT, M88K, Cray
* - OS/2, Apollo
*
* 2002-02-23 Sean Leyne - Code Cleanup, removed old Win3.1 port (Windows_Only)
*
2002-02-16 03:21:35 +01:00
*/
2001-12-24 03:11:44 +01:00
#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
2002-04-29 12:57:05 +02:00
/* functions */
#define snprintf _snprintf
2001-12-24 03:11:44 +01:00
/* Is the platform big endian? */
#define WORDS_BIGENDIAN 0
/* Are paths case sensitive? */
#define CASE_SENSITIVITY false
2001-12-24 03:11:44 +01:00
/* CPU types */
#undef PowerPC
#undef sparc
#define i386
#undef mips
#undef alpha
/* various OS efforts */
#undef DARWIN
#undef LINUX
#undef FREEBSD
#undef NETBSD
#undef sun
#undef SOLARIS
#undef hpux
#undef ultrix
#undef PC_PLATFORM
#undef NETWARE_386
#undef VMS
#undef AIX
#define WIN_NT
#undef SCO_EV
#undef DGUX
#undef DECOSF
#undef sgi
#undef mpexl
#undef UNIXWARE
#endif