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

120 lines
2.4 KiB
C
Raw Normal View History

#ident "$Id: autoconfig_msvc.h,v 1.24 2002-08-28 06:50:33 eku Exp $"
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
#define HAVE_CTYPE_H
2001-12-24 03:11:44 +01:00
#undef HAVE_UNISTD_H
#define HAVE_FCNTL_H
#undef HAVE_GRP_H
#undef HAVE_PWD_H
#undef HAVE_LIBIO_H
#undef HAVE_LOCALE_H
#undef HAVE_MATH_H
#undef HAVE_PTHREAD_H
2001-12-24 03:11:44 +01:00
#undef HAVE_SYS_TYPES_H
#define HAVE_SYS_STAT_H
#undef HAVE_SYS_UIO_H
#undef HAVE_SYS_WAIT_H
#define HAVE_TIME_H
#undef HAVE_SYS_TIME_H
2002-08-24 12:53:42 +02:00
#define HAVE_SYS_TIMEB_H
2001-12-24 03:11:44 +01:00
#undef HAVE_SYS_PARAM_H
#undef HAVE_SYS_IOCTL_H
#define HAVE_SETJMP_H
2001-12-24 03:11:44 +01:00
#define HAVE_STDARG_H
#define HAVE_STDLIB_H
#define HAVE_STRING_H
#define HAVE_SIGNAL_H
#undef HAVE_READLINE_READLINE_H
#undef HAVE_UNISTD_H
#undef HAVE_VARARGS_H
/* Functions */
#undef HAVE_STRLCPY
#undef HAVE_STRLCAT
2002-08-24 12:53:42 +02:00
#undef HAVE_GETTIMEOFDAY
#undef HAVE_TIME
#undef HAVE_TIMES
#undef HAVE_STRCASECMP
#define HAVE_STRICMP
#define HAVE_DIRNAME
#undef HAVE_SIGACTION
#define HAVE_SNPRINTF
#undef HAVE_MMAP
2001-12-24 03:11:44 +01:00
/* Types */
2001-12-24 03:11:44 +01:00
#undef socklen_t
/* gettimeofday accepts second (timezone) argument */
#undef GETTIMEOFDAY_RETURNS_TIMEZONE
/* Are we doing 64bit IO on unix */
#undef UNIX_64_BIT_IO
/* Functions */
2002-04-29 12:57:05 +02:00
#define snprintf _snprintf
2001-12-24 03:11:44 +01:00
/* Is the platform big endian? */
#define WORDS_BIGENDIAN 0
/* Return type of signal handler */
#define RETSIGTYPE void
/* 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
#undef SINIXZ
2001-12-24 03:11:44 +01:00
#endif