mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			836 lines
		
	
	
		
			22 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			836 lines
		
	
	
		
			22 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| /* Copyright (C) 2000 MySQL AB & Yuri Dario
 | |
|    All the above parties has a full, independent copyright to
 | |
|    the following code, including the right to use the code in
 | |
|    any manner without any demands from the other parties.
 | |
| 
 | |
|    This library is free software; you can redistribute it and/or
 | |
|    modify it under the terms of the GNU Library General Public
 | |
|    License as published by the Free Software Foundation; either
 | |
|    version 2 of the License, or (at your option) any later version.
 | |
| 
 | |
|    This library is distributed in the hope that it will be useful,
 | |
|    but WITHOUT ANY WARRANTY; without even the implied warranty of
 | |
|    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 | |
|    Library General Public License for more details.
 | |
| 
 | |
|    You should have received a copy of the GNU Library General Public
 | |
|    License along with this library; if not, write to the Free
 | |
|    Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 | |
|    MA 02111-1307, USA */
 | |
| 
 | |
| /* Defines for OS2 to make it compatible for MySQL */
 | |
| 
 | |
| #ifndef __CONFIG_OS2_H__
 | |
| #define __CONFIG_OS2_H__
 | |
| 
 | |
| #include <os2.h>
 | |
| #include <math.h>
 | |
| #include <io.h>
 | |
| #include <types.h>
 | |
| 
 | |
| /* Define to name of system eg solaris*/
 | |
| #define SYSTEM_TYPE "IBM OS/2 Warp"
 | |
| /* Define to machine type name eg sun10 */
 | |
| #define MACHINE_TYPE "i686"
 | |
| /* Name of package */
 | |
| #define PACKAGE "mysql"
 | |
| /* Version number of package */
 | |
| #define VERSION MYSQL_SERVER_VERSION
 | |
| /* Default socket */
 | |
| #define MYSQL_UNIX_ADDR "\\socket\\MySQL"
 | |
| 
 | |
| #define FN_LIBCHAR		 '\\'
 | |
| #define FN_ROOTDIR		 "\\"
 | |
| #define MY_NFILE		1024  /* This is only used to save filenames */
 | |
| 
 | |
| #define HAVE_ACCESS
 | |
| 
 | |
| #define DEFAULT_MYSQL_HOME	"c:\\mysql"
 | |
| #define DEFAULT_BASEDIR		"C:\\"
 | |
| #define SHAREDIR		"share"
 | |
| #define DEFAULT_CHARSET_HOME	"C:/mysql/"
 | |
| #define _POSIX_PATH_MAX		255
 | |
| #define DWORD			ULONG
 | |
| 
 | |
| #define O_SHARE		0x1000		/* Open file in sharing mode */
 | |
| #define FILE_BINARY	O_BINARY	/* my_fopen in binary mode */
 | |
| #define S_IROTH		S_IREAD		/* for my_lib */
 | |
| 
 | |
| #define CANT_DELETE_OPEN_FILES		/* saves open files in a list, for delayed delete */
 | |
| 
 | |
| #define O_NONBLOCK	0x10
 | |
| 
 | |
| #define NO_OPEN_3			/* For my_create() */
 | |
| #define SIGQUIT		SIGTERM		/* No SIGQUIT */
 | |
| #define SIGALRM		14		/* Alarm */
 | |
| 
 | |
| #define NO_FCNTL_NONBLOCK
 | |
| 
 | |
| #define EFBIG			   E2BIG
 | |
| /*#define ENFILE		  EMFILE    */
 | |
| /*#define ENAMETOOLONG		(EOS2ERR+2) */
 | |
| /*#define ETIMEDOUT		  145       */
 | |
| /*#define EPIPE			  146       */
 | |
| #define EROFS			147
 | |
| 
 | |
| #define sleep(A)	DosSleep((A)*1000)
 | |
| #define closesocket(A)	soclose(A)
 | |
| 
 | |
| #define F_OK		0
 | |
| #define W_OK		2
 | |
| 
 | |
| #define bzero(x,y)	memset((x),'\0',(y))
 | |
| #define bcopy(x,y,z)	memcpy((y),(x),(z))
 | |
| #define bcmp(x,y,z)	memcmp((y),(x),(z))
 | |
| 
 | |
| #define F_RDLCK		4	    /* Read lock.  */
 | |
| #define F_WRLCK		2	    /* Write lock.  */
 | |
| #define F_UNLCK		0	    /* Remove lock.  */
 | |
| 
 | |
| #define S_IFMT		0x17000	    /* Mask for file type */
 | |
| #define F_TO_EOF	0L	    /* Param to lockf() to lock rest of file */
 | |
| 
 | |
| #define HUGE_PTR
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| extern "C"
 | |
| #endif
 | |
| double _cdecl rint( double nr);
 | |
| 
 | |
| DWORD	 TlsAlloc( void);
 | |
| BOOL	 TlsFree( DWORD);
 | |
| PVOID	 TlsGetValue( DWORD);
 | |
| BOOL	 TlsSetValue( DWORD, PVOID);
 | |
| 
 | |
| /* support for > 2GB file size */
 | |
| #define SIZEOF_OFF_T	8
 | |
| #define lseek(A,B,C)	_lseek64( A, B, C)
 | |
| #define tell(A)		_lseek64( A, 0, SEEK_CUR)
 | |
| 
 | |
| void* dlopen( char* path, int flag);
 | |
| char* dlerror( void);
 | |
| void* dlsym( void* hmod, char* fn);
 | |
| void  dlclose( void* hmod);
 | |
| 
 | |
| /* Some typedefs */
 | |
| typedef unsigned long long os_off_t;
 | |
| 
 | |
| /* config.h.  Generated automatically by configure.  */
 | |
| /* config.h.in.  Generated automatically from configure.in by autoheader.  */
 | |
| 
 | |
| /* Define if using alloca.c.  */
 | |
| /* #undef C_ALLOCA */
 | |
| 
 | |
| /* Define to empty if the keyword does not work.  */
 | |
| /* #undef const */
 | |
| 
 | |
| /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
 | |
|    This function is required for alloca.c support on those systems.  */
 | |
| /* #undef CRAY_STACKSEG_END */
 | |
| 
 | |
| /* Define if you have alloca, as a function or macro.  */
 | |
| #define HAVE_ALLOCA 1
 | |
| 
 | |
| /* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
 | |
| /* #define HAVE_ALLOCA_H 1 */
 | |
| 
 | |
| /* Define if you don't have vprintf but do have _doprnt.  */
 | |
| /* #undef HAVE_DOPRNT */
 | |
| 
 | |
| /* Define if you have a working `mmap' system call.  */
 | |
| /* #undef HAVE_MMAP */
 | |
| 
 | |
| /* Define if system calls automatically restart after interruption
 | |
|    by a signal.  */
 | |
| /* #undef HAVE_RESTARTABLE_SYSCALLS */
 | |
| 
 | |
| /* Define if your struct stat has st_rdev.  */
 | |
| #define HAVE_ST_RDEV 1
 | |
| 
 | |
| /* Define if you have <sys/wait.h> that is POSIX.1 compatible.	*/
 | |
| /* #define HAVE_SYS_WAIT_H 1 */
 | |
| 
 | |
| /* Define if you don't have tm_zone but do have the external array
 | |
|    tzname.  */
 | |
| #define HAVE_TZNAME 1
 | |
| 
 | |
| /* Define if utime(file, NULL) sets file's timestamp to the present.  */
 | |
| #define HAVE_UTIME_NULL 1
 | |
| 
 | |
| /* Define if you have the vprintf function.  */
 | |
| #define HAVE_VPRINTF 1
 | |
| 
 | |
| /* Define as __inline if that's what the C compiler calls it.  */
 | |
| /* #undef inline */
 | |
| 
 | |
| /* Define to `long' if <sys/types.h> doesn't define.  */
 | |
| /* #undef off_t */
 | |
| 
 | |
| /* Define as the return type of signal handlers (int or void).	*/
 | |
| #define RETSIGTYPE void
 | |
| 
 | |
| /* Define to `unsigned' if <sys/types.h> doesn't define.  */
 | |
| /* #undef size_t */
 | |
| 
 | |
| /* If using the C implementation of alloca, define if you know the
 | |
|    direction of stack growth for your system; otherwise it will be
 | |
|    automatically deduced at run-time.
 | |
|  STACK_DIRECTION > 0 => grows toward higher addresses
 | |
|  STACK_DIRECTION < 0 => grows toward lower addresses
 | |
|  STACK_DIRECTION = 0 => direction of growth unknown
 | |
|  */
 | |
| #define STACK_DIRECTION -1
 | |
| 
 | |
| /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
 | |
| /* #undef STAT_MACROS_BROKEN */
 | |
| 
 | |
| /* Define if you have the ANSI C header files.	*/
 | |
| #define STDC_HEADERS 1
 | |
| 
 | |
| /* Define if you can safely include both <sys/time.h> and <time.h>.  */
 | |
| #define TIME_WITH_SYS_TIME 1
 | |
| 
 | |
| /* Define if your <sys/time.h> declares struct tm.  */
 | |
| /* #undef TM_IN_SYS_TIME */
 | |
| 
 | |
| /* Define if your processor stores words with the most significant
 | |
|    byte first (like Motorola and SPARC, unlike Intel and VAX).	*/
 | |
| /* #undef WORDS_BIGENDIAN */
 | |
| 
 | |
| /* Version of .frm files */
 | |
| #define DOT_FRM_VERSION 6
 | |
| 
 | |
| /* READLINE: */
 | |
| #define FIONREAD_IN_SYS_IOCTL 1
 | |
| 
 | |
| /* READLINE: Define if your system defines TIOCGWINSZ in sys/ioctl.h.  */
 | |
| /* #undef GWINSZ_IN_SYS_IOCTL */
 | |
| 
 | |
| /* Do we have FIONREAD */
 | |
| #define FIONREAD_IN_SYS_IOCTL 1
 | |
| 
 | |
| /* atomic_add() from <asm/atomic.h> (Linux only) */
 | |
| /* #undef HAVE_ATOMIC_ADD */
 | |
| 
 | |
| /* atomic_sub() from <asm/atomic.h> (Linux only) */
 | |
| /* #undef HAVE_ATOMIC_SUB */
 | |
| 
 | |
| /* bool is not defined by all C++ compilators */
 | |
| #define HAVE_BOOL 1
 | |
| 
 | |
| /* Have berkeley db installed */
 | |
| /* #define HAVE_BERKELEY_DB 1 */
 | |
| 
 | |
| /* DSB style signals ? */
 | |
| /* #undef HAVE_BSD_SIGNALS */
 | |
| 
 | |
| /* Can netinet be included */
 | |
| /* #undef HAVE_BROKEN_NETINET_INCLUDES */
 | |
| 
 | |
| /* READLINE: */
 | |
| /* #undef HAVE_BSD_SIGNALS */
 | |
| 
 | |
| /* ZLIB and compress: */
 | |
| #define HAVE_COMPRESS 1
 | |
| 
 | |
| /* Define if we are using OSF1 DEC threads */
 | |
| /* #undef HAVE_DEC_THREADS */
 | |
| 
 | |
| /* Define if we are using OSF1 DEC threads on 3.2 */
 | |
| /* #undef HAVE_DEC_3_2_THREADS */
 | |
| 
 | |
| /* fp_except from ieeefp.h */
 | |
| /* #undef HAVE_FP_EXCEPT */
 | |
| 
 | |
| /* READLINE: */
 | |
| /* #undef HAVE_GETPW_DECLS */
 | |
| 
 | |
| /* Solaris define gethostbyname_r with 5 arguments. glibc2 defines
 | |
|    this with 6 arguments */
 | |
| /* #undef HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE */
 | |
| 
 | |
| /* In OSF 4.0f the 3'd argument to gethostname_r is hostent_data * */
 | |
| /* #undef HAVE_GETHOSTBYNAME_R_RETURN_INT */
 | |
| 
 | |
| /* Define if int8, int16 and int32 types exist */
 | |
| /* #undef HAVE_INT_8_16_32 */
 | |
| 
 | |
| /* Define if have -lwrap */
 | |
| /* #undef HAVE_LIBWRAP */
 | |
| 
 | |
| /* Define if we are using Xavier Leroy's LinuxThreads */
 | |
| /* #undef HAVE_LINUXTHREADS */
 | |
| 
 | |
| /* Do we use user level threads */
 | |
| /* #undef HAVE_mit_thread */
 | |
| 
 | |
| /* For some non posix threads */
 | |
| /* #undef HAVE_NONPOSIX_PTHREAD_GETSPECIFIC */
 | |
| 
 | |
| /* For some non posix threads */
 | |
| /* #undef HAVE_NONPOSIX_PTHREAD_MUTEX_INIT */
 | |
| 
 | |
| /* READLINE: */
 | |
| #define HAVE_POSIX_SIGNALS 0
 | |
| 
 | |
| /* sigwait with one argument */
 | |
| /* #undef HAVE_NONPOSIX_SIGWAIT */
 | |
| 
 | |
| /* pthread_attr_setscope */
 | |
| #define HAVE_PTHREAD_ATTR_SETSCOPE 1
 | |
| 
 | |
| /* POSIX readdir_r */
 | |
| /* #undef HAVE_READDIR_R */
 | |
| 
 | |
| /* POSIX sigwait */
 | |
| /* #undef HAVE_SIGWAIT */
 | |
| 
 | |
| /* crypt */
 | |
| #define HAVE_CRYPT 1
 | |
| 
 | |
| /* Solaris define gethostbyaddr_r with 7 arguments. glibc2 defines
 | |
|    this with 8 arguments */
 | |
| /* #undef HAVE_SOLARIS_STYLE_GETHOST */
 | |
| 
 | |
| /* Timespec has a ts_sec instead of tv_sev  */
 | |
| #define HAVE_TIMESPEC_TS_SEC 1
 | |
| 
 | |
| /* Have the tzname variable */
 | |
| #define HAVE_TZNAME 1
 | |
| 
 | |
| /* Define if the system files define uchar */
 | |
| /* #undef HAVE_UCHAR */
 | |
| 
 | |
| /* Define if the system files define uint */
 | |
| /* #undef HAVE_UINT */
 | |
| 
 | |
| /* Define if the system files define ulong */
 | |
| /* #undef HAVE_ULONG */
 | |
| 
 | |
| /* UNIXWARE7 threads are not posix */
 | |
| /* #undef HAVE_UNIXWARE7_THREADS */
 | |
| 
 | |
| /* new UNIXWARE7 threads that are not yet posix */
 | |
| /* #undef HAVE_UNIXWARE7_POSIX */
 | |
| 
 | |
| /* READLINE: */
 | |
| /* #undef HAVE_USG_SIGHOLD */
 | |
| 
 | |
| /* Define if want -lwrap */
 | |
| /* #undef LIBWRAP */
 | |
| 
 | |
| /* mysql client protocoll version */
 | |
| #define PROTOCOL_VERSION 10
 | |
| 
 | |
| /* Define if qsort returns void */
 | |
| #define QSORT_TYPE_IS_VOID 1
 | |
| 
 | |
| /* Define as the return type of qsort (int or void). */
 | |
| #define RETQSORTTYPE void
 | |
| 
 | |
| /* Define as the base type of the last arg to accept */
 | |
| #define SOCKET_SIZE_TYPE int
 | |
| 
 | |
| /* Last argument to get/setsockopt */
 | |
| /* #undef SOCKOPT_OPTLEN_TYPE */
 | |
| 
 | |
| /* #undef SPEED_T_IN_SYS_TYPES */
 | |
| /* #undef SPRINTF_RETURNS_PTR */
 | |
| #define SPRINTF_RETURNS_INT 1
 | |
| /* #undef SPRINTF_RETURNS_GARBAGE */
 | |
| 
 | |
| /* #undef STRUCT_DIRENT_HAS_D_FILENO */
 | |
| #define STRUCT_DIRENT_HAS_D_INO 1
 | |
| 
 | |
| /* Define if you want to have threaded code. This may be undef on client code */
 | |
| #define THREAD 1
 | |
| 
 | |
| /* Should be client be thread safe */
 | |
| /* #undef THREAD_SAFE_CLIENT */
 | |
| 
 | |
| /* READLINE: */
 | |
| /* #undef TIOCSTAT_IN_SYS_IOCTL */
 | |
| 
 | |
| /* Use multi-byte character routines */
 | |
| /* #undef USE_MB */
 | |
| /* #undef USE_MB_IDENT */
 | |
| 
 | |
| /* Use MySQL RAID */
 | |
| /* #undef USE_RAID */
 | |
| 
 | |
| /* Use strcoll() functions when comparing and sorting. */
 | |
| /* #undef USE_STRCOLL */
 | |
| 
 | |
| /* READLINE: */
 | |
| #define VOID_SIGHANDLER 1
 | |
| 
 | |
| /* The number of bytes in a char.  */
 | |
| #define SIZEOF_CHAR 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 long long.	*/
 | |
| #define SIZEOF_LONG_LONG 8
 | |
| 
 | |
| /* Define if you have the alarm function.  */
 | |
| #define HAVE_ALARM 1
 | |
| 
 | |
| /* Define if you have the atod function.  */
 | |
| /* #undef HAVE_ATOD */
 | |
| 
 | |
| /* Define if you have the bcmp function.  */
 | |
| #define HAVE_BCMP 1
 | |
| 
 | |
| /* Define if you have the bfill function.  */
 | |
| /* #undef HAVE_BFILL */
 | |
| 
 | |
| /* Define if you have the bmove function.  */
 | |
| /* #undef HAVE_BMOVE */
 | |
| 
 | |
| /* Define if you have the bzero function.  */
 | |
| #define HAVE_BZERO 1
 | |
| 
 | |
| /* Define if you have the chsize function.  */
 | |
| #define HAVE_CHSIZE 1
 | |
| 
 | |
| /* Define if you have the cuserid function.  */
 | |
| /* #define HAVE_CUSERID 1 */
 | |
| 
 | |
| /* Define if you have the dlerror function.  */
 | |
| #define HAVE_DLERROR 1
 | |
| 
 | |
| /* Define if you have the dlopen function.  */
 | |
| #define HAVE_DLOPEN 1
 | |
| 
 | |
| /* Define if you have the fchmod function.  */
 | |
| /* #undef HAVE_FCHMOD */
 | |
| 
 | |
| /* Define if you have the fcntl function.  */
 | |
| /* #define HAVE_FCNTL 1 */
 | |
| 
 | |
| /* Define if you have the fconvert function.  */
 | |
| /* #undef HAVE_FCONVERT */
 | |
| 
 | |
| /* Define if you have the finite function.  */
 | |
| /* #undef HAVE_FINITE */
 | |
| 
 | |
| /* Define if you have the fpresetsticky function.  */
 | |
| /* #undef HAVE_FPRESETSTICKY */
 | |
| 
 | |
| /* Define if you have the fpsetmask function.  */
 | |
| /* #undef HAVE_FPSETMASK */
 | |
| 
 | |
| /* Define if you have the fseeko function.  */
 | |
| /* #undef HAVE_FSEEKO */
 | |
| 
 | |
| /* Define if you have the ftruncate function.  */
 | |
| /* #define HAVE_FTRUNCATE 1 */
 | |
| 
 | |
| /* Define if you have the getcwd function.  */
 | |
| #define HAVE_GETCWD 1
 | |
| 
 | |
| /* Define if you have the gethostbyaddr_r function.  */
 | |
| /* #undef HAVE_GETHOSTBYADDR_R */
 | |
| 
 | |
| /* Define if you have the gethostbyname_r function.  */
 | |
| /* #undef HAVE_GETHOSTBYNAME_R */
 | |
| 
 | |
| /* Define if you have the getpagesize function.  */
 | |
| #define HAVE_GETPAGESIZE 1
 | |
| 
 | |
| /* Define if you have the getpass function.  */
 | |
| /*#define HAVE_GETPASS 1 */
 | |
| 
 | |
| /* Define if you have the getpassphrase function.  */
 | |
| /* #undef HAVE_GETPASSPHRASE */
 | |
| 
 | |
| /* Define if you have the getpwnam function.  */
 | |
| /* #define HAVE_GETPWNAM 1 */
 | |
| 
 | |
| /* Define if you have the getpwuid function.  */
 | |
| /* #define HAVE_GETPWUID 1 */
 | |
| 
 | |
| /* Define if you have the getrlimit function.  */
 | |
| /* #undef HAVE_GETRLIMIT */
 | |
| 
 | |
| /* Define if you have the getrusage function.  */
 | |
| /* #undef HAVE_GETRUSAGE */
 | |
| 
 | |
| /* Define if you have the getwd function.  */
 | |
| #define HAVE_GETWD 1
 | |
| 
 | |
| /* Define to 1 if you have the `gmtime_r' function. */
 | |
| #define HAVE_GMTIME_R 1
 | |
| 
 | |
| /* Define if you have the index function.  */
 | |
| #define HAVE_INDEX 1
 | |
| 
 | |
| /* Define if you have the initgroups function.	*/
 | |
| /* #undef HAVE_INITGROUPS */
 | |
| 
 | |
| /* Define if you have the localtime_r function.  */
 | |
| #define HAVE_LOCALTIME_R 1
 | |
| 
 | |
| /* Define if you have the locking function.  */
 | |
| /* #undef HAVE_LOCKING */
 | |
| 
 | |
| /* Define if you have the longjmp function.  */
 | |
| #define HAVE_LONGJMP 1
 | |
| 
 | |
| /* Define if you have the lrand48 function.  */
 | |
| /* #undef HAVE_LRAND48 */
 | |
| 
 | |
| /* Define if you have the lstat function.  */
 | |
| /* #undef HAVE_LSTAT */
 | |
| 
 | |
| /* Define if you have the madvise function.  */
 | |
| /* #undef HAVE_MADVISE */
 | |
| 
 | |
| /* Define if you have the memcpy function.  */
 | |
| #define HAVE_MEMCPY 1
 | |
| 
 | |
| /* Define if you have the memmove function.  */
 | |
| #define HAVE_MEMMOVE 1
 | |
| 
 | |
| /* Define if you have the mkstemp function.  */
 | |
| /* #define HAVE_MKSTEMP 1 */
 | |
| 
 | |
| /* Define if you have the mlockall function.  */
 | |
| /* #undef HAVE_MLOCKALL */
 | |
| 
 | |
| /* Define if you have the perror function.  */
 | |
| #define HAVE_PERROR 1
 | |
| 
 | |
| /* Define if you have the poll function.  */
 | |
| /* #undef HAVE_POLL */
 | |
| 
 | |
| /* Define if you have the pread function.  */
 | |
| /* #undef HAVE_PREAD */
 | |
| 
 | |
| /* Define if you have the pthread_attr_create function.  */
 | |
| /* #undef HAVE_PTHREAD_ATTR_CREATE */
 | |
| 
 | |
| /* Define if you have the pthread_attr_setprio function.  */
 | |
| #define HAVE_PTHREAD_ATTR_SETPRIO 1
 | |
| 
 | |
| /* Define if you have the pthread_attr_setschedparam function.	*/
 | |
| /* #undef HAVE_PTHREAD_ATTR_SETSCHEDPARAM */
 | |
| 
 | |
| /* Define if you have the pthread_attr_setstacksize function.  */
 | |
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
 | |
| 
 | |
| /* Define if you have the pthread_condattr_create function.  */
 | |
| /* #undef HAVE_PTHREAD_CONDATTR_CREATE */
 | |
| 
 | |
| /* Define if you have the pthread_getsequence_np function.  */
 | |
| /* #undef HAVE_PTHREAD_GETSEQUENCE_NP */
 | |
| 
 | |
| /* Define if you have the pthread_init function.  */
 | |
| /* #undef HAVE_PTHREAD_INIT */
 | |
| 
 | |
| /* Define if you have the pthread_rwlock_rdlock function.  */
 | |
| /* #undef HAVE_PTHREAD_RWLOCK_RDLOCK */
 | |
| 
 | |
| /* Define if you have the pthread_setprio function.  */
 | |
| #define HAVE_PTHREAD_SETPRIO 1
 | |
| 
 | |
| /* Define if you have the pthread_setprio_np function.	*/
 | |
| /* #undef HAVE_PTHREAD_SETPRIO_NP */
 | |
| 
 | |
| /* Define if you have the pthread_setschedparam function.  */
 | |
| /* #undef HAVE_PTHREAD_SETSCHEDPARAM */
 | |
| 
 | |
| /* Define if you have the pthread_sigmask function.  */
 | |
| #define HAVE_PTHREAD_SIGMASK 1
 | |
| 
 | |
| /* Define if you have the putenv function.  */
 | |
| #define HAVE_PUTENV 1
 | |
| 
 | |
| /* Define if you have the readlink function.  */
 | |
| /* #undef HAVE_READLINK */
 | |
| 
 | |
| /* Define if you have the realpath function.  */
 | |
| /* #undef HAVE_REALPATH */
 | |
| 
 | |
| /* Define if you have the rename function.  */
 | |
| #define HAVE_RENAME 1
 | |
| 
 | |
| /* Define if you have the rint function.  */
 | |
| #define HAVE_RINT 1
 | |
| 
 | |
| /* Define if you have the rwlock_init function.  */
 | |
| /* #undef HAVE_RWLOCK_INIT */
 | |
| 
 | |
| /* Define if you have the select function.  */
 | |
| #define HAVE_SELECT 1
 | |
| 
 | |
| /* Define if you have the setenv function.  */
 | |
| /* #undef HAVE_SETENV */
 | |
| 
 | |
| /* Define if you have the setlocale function.  */
 | |
| #define HAVE_SETLOCALE 1
 | |
| 
 | |
| /* Define if you have the setupterm function.  */
 | |
| /* #undef HAVE_SETUPTERM */
 | |
| 
 | |
| /* Define if you have the sighold function.  */
 | |
| /* #undef HAVE_SIGHOLD */
 | |
| 
 | |
| /* Define if you have the sigset function.  */
 | |
| /* #undef HAVE_SIGSET */
 | |
| 
 | |
| /* Define if you have the sigthreadmask function.  */
 | |
| /* #undef HAVE_SIGTHREADMASK */
 | |
| 
 | |
| /* Define if you have the snprintf function.  */
 | |
| /* #define HAVE_SNPRINTF 1 */
 | |
| 
 | |
| /* Define if you have the socket function.  */
 | |
| #define HAVE_SOCKET 1
 | |
| 
 | |
| /* Define if you have the stpcpy function.  */
 | |
| /* #undef HAVE_STPCPY */
 | |
| 
 | |
| /* Define if you have the strcasecmp function.	*/
 | |
| /* #undef HAVE_STRCASECMP */
 | |
| 
 | |
| /* Define if you have the strcoll function.  */
 | |
| #define HAVE_STRCOLL 1
 | |
| 
 | |
| /* Define if you have the strerror function.  */
 | |
| #define HAVE_STRERROR 1
 | |
| 
 | |
| /* Define if you have the strnlen function.  */
 | |
| /* #undef HAVE_STRNLEN */
 | |
| 
 | |
| /* Define if you have the strpbrk function.  */
 | |
| #define HAVE_STRPBRK 1
 | |
| 
 | |
| /* Define if you have the strstr function.  */
 | |
| #define HAVE_STRSTR 1
 | |
| 
 | |
| /* Define if you have the strtok_r function.  */
 | |
| /* #undef HAVE_STRTOK_R */
 | |
| 
 | |
| /* Define if you have the strtol function.  */
 | |
| #define HAVE_STRTOL 1
 | |
| 
 | |
| /* Define if you have the strtoul function.  */
 | |
| #define HAVE_STRTOUL 1
 | |
| 
 | |
| /* Define if you have the strtoull function.  */
 | |
| /* #undef HAVE_STRTOULL */
 | |
| 
 | |
| /* Define if you have the tcgetattr function.  */
 | |
| #define HAVE_TCGETATTR 1
 | |
| 
 | |
| /* Define if you have the tell function.  */
 | |
| #define HAVE_TELL 1
 | |
| 
 | |
| /* Define if you have the tempnam function.  */
 | |
| #define HAVE_TEMPNAM 1
 | |
| 
 | |
| /* Define if you have the thr_setconcurrency function.	*/
 | |
| /* #undef HAVE_THR_SETCONCURRENCY */
 | |
| 
 | |
| /* Define if you have the vidattr function.  */
 | |
| /* #undef HAVE_VIDATTR */
 | |
| 
 | |
| /* Define if you have the <alloca.h> header file.  */
 | |
| /* #define HAVE_ALLOCA_H 1 */
 | |
| 
 | |
| /* Define if you have the <arpa/inet.h> header file.  */
 | |
| #define HAVE_ARPA_INET_H 1
 | |
| 
 | |
| /* Define if you have the <asm/termbits.h> header file.  */
 | |
| /* #undef HAVE_ASM_TERMBITS_H */
 | |
| 
 | |
| /* Define if you have the <crypt.h> header file.  */
 | |
| #define HAVE_CRYPT_H 1
 | |
| 
 | |
| /* Define if you have the <curses.h> header file.  */
 | |
| /* #define HAVE_CURSES_H 1 */
 | |
| 
 | |
| /* Define if you have the <dirent.h> header file.  */
 | |
| /* #define HAVE_DIRENT_H 1 */
 | |
| 
 | |
| /* Define if you have the <fcntl.h> header file.  */
 | |
| #define HAVE_FCNTL_H 1
 | |
| 
 | |
| /* Define if you have the <float.h> header file.  */
 | |
| #define HAVE_FLOAT_H 1
 | |
| 
 | |
| /* Define if you have the <floatingpoint.h> header file.  */
 | |
| /* #undef HAVE_FLOATINGPOINT_H */
 | |
| 
 | |
| /* Define if you have the <grp.h> header file.	*/
 | |
| /* #define HAVE_GRP_H 1 */
 | |
| 
 | |
| /* Define if you have the <ieeefp.h> header file.  */
 | |
| /* #undef HAVE_IEEEFP_H */
 | |
| 
 | |
| /* Define if you have the <limits.h> header file.  */
 | |
| #define HAVE_LIMITS_H 1
 | |
| 
 | |
| /* Define if you have the <locale.h> header file.  */
 | |
| #define HAVE_LOCALE_H 1
 | |
| 
 | |
| /* Define if you have the <memory.h> header file.  */
 | |
| #define HAVE_MEMORY_H 1
 | |
| 
 | |
| /* Define if you have the <ndir.h> header file.  */
 | |
| /* #undef HAVE_NDIR_H */
 | |
| 
 | |
| /* Define if you have the <netinet/in.h> header file.  */
 | |
| #define HAVE_NETINET_IN_H 1
 | |
| 
 | |
| /* Define if you have the <paths.h> header file.  */
 | |
| /* #undef HAVE_PATHS_H */
 | |
| 
 | |
| /* Define if you have the <pwd.h> header file.	*/
 | |
| /* #define HAVE_PWD_H 1 */
 | |
| 
 | |
| /* Define if you have the <sched.h> header file.  */
 | |
| /* #undef HAVE_SCHED_H */
 | |
| 
 | |
| /* Define if you have the <select.h> header file.  */
 | |
| /* #undef HAVE_SELECT_H */
 | |
| 
 | |
| /* Define if you have the <stdarg.h> header file.  */
 | |
| #define HAVE_STDARG_H 1
 | |
| 
 | |
| /* Define if you have the <stddef.h> header file.  */
 | |
| #define HAVE_STDDEF_H 1
 | |
| 
 | |
| /* Define if you have the <stdlib.h> header file.  */
 | |
| #define HAVE_STDLIB_H 1
 | |
| 
 | |
| /* Define if you have the <string.h> header file.  */
 | |
| #define HAVE_STRING_H 1
 | |
| 
 | |
| /* Define if you have the <strings.h> header file.  */
 | |
| /* #define HAVE_STRINGS_H 1 */
 | |
| 
 | |
| /* Define if you have the <synch.h> header file.  */
 | |
| /* #undef HAVE_SYNCH_H */
 | |
| 
 | |
| /* Define if you have the <sys/dir.h> header file.  */
 | |
| /* #define HAVE_SYS_DIR_H 1 */
 | |
| 
 | |
| /* Define if you have the <sys/file.h> header file.  */
 | |
| /* #define HAVE_SYS_FILE_H 1 */
 | |
| 
 | |
| /* Define if you have the <sys/ioctl.h> header file.  */
 | |
| #define HAVE_SYS_IOCTL_H 1
 | |
| 
 | |
| /* Define if you have the <sys/mman.h> header file.  */
 | |
| /* #undef HAVE_SYS_MMAN_H */
 | |
| 
 | |
| /* Define if you have the <sys/ndir.h> header file.  */
 | |
| /* #undef HAVE_SYS_NDIR_H */
 | |
| 
 | |
| /* Define if you have the <sys/pte.h> header file.  */
 | |
| /* #undef HAVE_SYS_PTE_H */
 | |
| 
 | |
| /* Define if you have the <sys/ptem.h> header file.  */
 | |
| /* #undef HAVE_SYS_PTEM_H */
 | |
| 
 | |
| /* Define if you have the <sys/select.h> header file.  */
 | |
| #define HAVE_SYS_SELECT_H 1
 | |
| 
 | |
| /* Define if you have the <sys/socket.h> header file.  */
 | |
| #define HAVE_SYS_SOCKET_H 1
 | |
| 
 | |
| /* Define if you have the <sys/stream.h> header file.  */
 | |
| /* #undef HAVE_SYS_STREAM_H */
 | |
| 
 | |
| /* Define if you have the <sys/timeb.h> header file.  */
 | |
| #define HAVE_SYS_TIMEB_H 1
 | |
| 
 | |
| /* Define if you have the <sys/types.h> header file.  */
 | |
| #define HAVE_SYS_TYPES_H 1
 | |
| 
 | |
| /* Define if you have the <sys/un.h> header file.  */
 | |
| #define HAVE_SYS_UN_H 1
 | |
| 
 | |
| /* Define if you have the <sys/utime.h> header file.  */
 | |
| #define HAVE_SYS_UTIME_H 1
 | |
| 
 | |
| /* Define if you have the <sys/vadvise.h> header file.	*/
 | |
| /* #undef HAVE_SYS_VADVISE_H */
 | |
| 
 | |
| /* Define if you have the <sys/wait.h> header file.  */
 | |
| /* #define HAVE_SYS_WAIT_H 1 */
 | |
| 
 | |
| /* Define if you have the <term.h> header file.  */
 | |
| /* #undef HAVE_TERM_H */
 | |
| 
 | |
| /* Define if you have the <termbits.h> header file.  */
 | |
| /* #undef HAVE_TERMBITS_H */
 | |
| 
 | |
| /* Define if you have the <termcap.h> header file.  */
 | |
| /* #define HAVE_TERMCAP_H 1 */
 | |
| 
 | |
| /* Define if you have the <termio.h> header file.  */
 | |
| /* /#define HAVE_TERMIO_H 1 */
 | |
| 
 | |
| /* Define if you have the <termios.h> header file.  */
 | |
| /* #define HAVE_TERMIOS_H 1 */
 | |
| 
 | |
| /* Define if you have the <unistd.h> header file.  */
 | |
| #define HAVE_UNISTD_H 1
 | |
| 
 | |
| /* Define if you have the <utime.h> header file.  */
 | |
| #define HAVE_UTIME_H 1
 | |
| 
 | |
| /* Define if you have the <varargs.h> header file.  */
 | |
| #define HAVE_VARARGS_H 1
 | |
| 
 | |
| /* Define if you have the bind library (-lbind).  */
 | |
| /* #undef HAVE_LIBBIND */
 | |
| 
 | |
| /* Define if you have the c_r library (-lc_r).	*/
 | |
| /* #undef HAVE_LIBC_R */
 | |
| 
 | |
| /* Define if you have the compat library (-lcompat).  */
 | |
| /* #undef HAVE_LIBCOMPAT */
 | |
| 
 | |
| /* Define if you have the crypt library (-lcrypt).  */
 | |
| #define HAVE_LIBCRYPT 1
 | |
| 
 | |
| /* Define if you have the dl library (-ldl).  */
 | |
| #define HAVE_LIBDL 1
 | |
| 
 | |
| /* Define if you have the gen library (-lgen).	*/
 | |
| /* #undef HAVE_LIBGEN */
 | |
| 
 | |
| /* Define if you have the m library (-lm).  */
 | |
| #define HAVE_LIBM 1
 | |
| 
 | |
| /* Define if you have the nsl library (-lnsl).	*/
 | |
| /* #undef HAVE_LIBNSL */
 | |
| 
 | |
| /* Define if you have the nsl_r library (-lnsl_r).  */
 | |
| /* #undef HAVE_LIBNSL_R */
 | |
| 
 | |
| /* Define if you have the pthread library (-lpthread).	*/
 | |
| /* #undef HAVE_LIBPTHREAD */
 | |
| 
 | |
| /* Define if you have the socket library (-lsocket).  */
 | |
| /* #undef HAVE_LIBSOCKET */
 | |
| 
 | |
| /* Number of bits in a file offset, on hosts where this is settable. */
 | |
| /* #undef _FILE_OFFSET_BITS */
 | |
| 
 | |
| /* Define to make fseeko etc. visible, on some hosts. */
 | |
| /* #undef _LARGEFILE_SOURCE */
 | |
| 
 | |
| /* Define for large files, on AIX-style hosts. */
 | |
| /* #undef _LARGE_FILES */
 | |
| 
 | |
| #endif /* __CONFIG_OS2_H__ */
 | 
