/* Part of SWI-Prolog Author: Jan Wielemaker E-mail: J.Wielemaker@vu.nl WWW: http://www.swi-prolog.org Copyright (c) 2015-2022, University of Amsterdam VU University Amsterdam SWI-Prolog Solutions b.v. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #define __WIN32__ 1 #if !defined(VC8) && (_MSC_VER >= 1400) /* Visual studio 8 */ #define VC8 1 /* (aka Microsoft 2005 VC++ */ #endif #define NOTTYCONTROL TRUE /* default -tty */ #if defined(O_PLMT) && !defined(_REENTRANT) #define _REENTRANT 1 #endif #define OPEN_MAX 32 #define HAVE_UXNT_H 1 #define HAVE_CLOCK 1 /* clock() timing function */ /* Define for emulating dlopen(), etc. using LoadLibrary */ #define EMULATE_DLOPEN 1 /* Define to overrule PATH_MAX. This is set to 260 on Windows, * but Windows handles up to 32k length paths, depending on file system * and register settings. */ #define WIN_PATH_MAX 32768 /* Define for the _xos_... functions */ #define O_XOS 1 /* Define O_RLC for the ../readline library */ #define O_RLC 1 /* Define for Windows DDE support */ #define O_DDE 1 /* Define for Windows DLL support */ #define O_DLL 1 /* Define if you disk-drives are special to you (DOS, Windows, OS/2) */ #define O_HASDRIVES 1 /* Define if you have shares using the notation //host/share */ #define O_HASSHARES 1 /* Define if you have shares using the notation //netbios/share */ #define O_NETBIOS 1 /* Define if floats are IEEE754 */ #define IEEE754 1 /* setenv comes from uxnt.c */ #define HAVE_SETENV 1 #ifdef _MSC_VER #define _CRT_SECURE_NO_WARNINGS #pragma warning(disable : 4996) /* deprecate open() etc */ /* Ignoring for now. Should be cleaned. */ #pragma warning(disable : 4244) /* possible loss of data (int conversion) */ #pragma warning(disable : 4267) /* possible loss of data (int conversion) */ #pragma warning(disable : 4018) /* signed/unsigned comparison */ #pragma warning(disable : 4146) /* unary minus operator applied to unsigned type */ #define HAVE_LOCALECONV 1 #define HAVE_MBSTRING_H 1 #define HAVE_LIBLOADERAPI_H 1 #endif #include "config.h" /* FIXME: this is overriding what is in config.h. */ /* Define to make use of standard (UNIX98) pthread recursive mutexes */ #define RECURSIVE_MUTEXES 1 /* FIXME: this is overriding what is in config.h. */ /* Define if pthread has pthread_mutexattr_settype() */ #define HAVE_PTHREAD_MUTEXATTR_SETTYPE 1 #ifndef __MINGW32__ typedef unsigned long sigset_t; /* we don't have this */ typedef int mode_t; /* Define to 1 if you have the header file. */ #define HAVE_SHLOBJ_H 1 /* Define to 1 if you have the header file. */ #ifndef _MSC_VER #define HAVE_DBGHELP_H 1 #endif /* Define to 1 if you have the header file. */ #define HAVE_MALLOC_H 1 #define inline __inline #include /* stdio.h prevents redefining */ #undef snprintf #define snprintf ms_snprintf /* defined in pl-nt.c */ #ifdef O_GMP #define HAVE_GMP_H 1 #endif #ifdef __LCC__ #define NO_MS_EXTENSIONS 1 #endif /* Define to extension used for shared objects if not "so" */ #define SO_EXT "dll" /* Define as the return type of signal handlers (int or void). */ #define RETSIGTYPE void /* "Define if Prolog kernel is in shared object" */ #define O_SHARED_KERNEL 1 /* The number of bytes in a int. */ #define SIZEOF_INT 4 /* The number of bytes in a long. */ #define SIZEOF_LONG 4 /* The number of bytes in a wchar_t. */ #define SIZEOF_WCHAR_T 2 /* Define if you have the access function. */ #define HAVE_ACCESS 1 /* Define if you have the chmod function. */ #define HAVE_CHMOD 1 /* Define if you have the fstat function. */ #define HAVE_FSTAT 1 /* Define if you have the getcwd function. */ #define HAVE_GETCWD 1 /* Define if you have the getpid function. */ #define HAVE_GETPID 1 /* Define if you have the ftime function. */ #define HAVE_FTIME 1 /* Define if you have the memmove function. */ #define HAVE_MEMMOVE 1 /* Define if you have the opendir function. */ #define HAVE_OPENDIR 1 /* Define if you have the popen function. */ #define HAVE_POPEN 1 /* Define if you have the putenv function. */ #define HAVE_PUTENV 1 /* Define if you have the remove function. */ #define HAVE_REMOVE 1 /* Define if you have the rename function. */ #define HAVE_RENAME 1 /* Define if you have the stricmp() function. */ #define HAVE_STRICMP 1 /* Define if you have the mbscasecoll() function. */ #define mbscasecoll _mbsicoll #define HAVE_MBSCASECOLL 1 /* Define if you have the strlwr() function */ #define HAVE_STRLWR 1 /* Define if you have the rl_insert_close function. */ #define HAVE_RL_INSERT_CLOSE 1 /* Define if you have the select function. */ #define HAVE_SELECT 1 /* Define if you have the signal function. */ #define HAVE_SIGNAL 1 /* Define if you have the srand function. */ #define HAVE_SRAND 1 /* Define if you have the stat function. */ #define HAVE_STAT 1 /* Define if you have the strerror function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `ceil' function. */ #define HAVE_CEIL 1 /* Define to 1 if you have the `floor' function. */ #define HAVE_FLOOR 1 /* Define if you have the header file. */ #define HAVE_DIRENT_H 1 /* Define if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define if you have the header file. */ /* #undef HAVE_NDIR_H */ /* Define if you have the header file. */ #define HAVE_STRING_H 1 /* Define if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define if you have the m library (-lm). */ #define HAVE_LIBM 1 /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have `isnan' function */ #define HAVE_ISNAN 1 /* Define to 1 if you have `_fpclass' function */ #define HAVE__FPCLASS 1 /* Define to 1 if you have `signbit' function */ /* #undef HAVE_SIGNBIT 1 */ /* Define to 1 if you have header */ #define HAVE_FLOAT_H 1 /* Define to 1 if you have the 'wcsxfrm' function. */ #define HAVE_WCSXFRM 1 #endif /*__MINGW32__*/