~ubuntu-branches/ubuntu/hardy/libterralib/hardy

« back to all changes in this revision

Viewing changes to src/terralib/drivers/MySQL/include/config-os2.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2005-11-25 22:32:59 UTC
  • Revision ID: james.westby@ubuntu.com-20051125223259-3zubal8ux4ki4fjg
Tags: upstream-3.0.3b2
ImportĀ upstreamĀ versionĀ 3.0.3b2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright (C) 2000 MySQL AB & Yuri Dario
 
2
   All the above parties has a full, independent copyright to
 
3
   the following code, including the right to use the code in
 
4
   any manner without any demands from the other parties.
 
5
 
 
6
   This library is free software; you can redistribute it and/or
 
7
   modify it under the terms of the GNU Library General Public
 
8
   License as published by the Free Software Foundation; either
 
9
   version 2 of the License, or (at your option) any later version.
 
10
 
 
11
   This library is distributed in the hope that it will be useful,
 
12
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
14
   Library General Public License for more details.
 
15
 
 
16
   You should have received a copy of the GNU Library General Public
 
17
   License along with this library; if not, write to the Free
 
18
   Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 
19
   MA 02111-1307, USA */
 
20
 
 
21
/* Defines for OS2 to make it compatible for MySQL */
 
22
 
 
23
#ifndef __CONFIG_OS2_H__
 
24
#define __CONFIG_OS2_H__
 
25
 
 
26
#include <os2.h>
 
27
#include <math.h>
 
28
#include <io.h>
 
29
#include <types.h>
 
30
 
 
31
/* Define to name of system eg solaris*/
 
32
#define SYSTEM_TYPE "IBM OS/2 Warp"
 
33
/* Define to machine type name eg sun10 */
 
34
#define MACHINE_TYPE "i686"
 
35
/* Name of package */
 
36
#define PACKAGE "mysql"
 
37
/* Version number of package */
 
38
#define VERSION MYSQL_SERVER_VERSION
 
39
/* Default socket */
 
40
#define MYSQL_UNIX_ADDR "\\socket\\MySQL"
 
41
 
 
42
#define FN_LIBCHAR               '\\'
 
43
#define FN_ROOTDIR               "\\"
 
44
#define MY_NFILE                1024  /* This is only used to save filenames */
 
45
 
 
46
#define HAVE_ACCESS
 
47
 
 
48
#define DEFAULT_MYSQL_HOME      "c:\\mysql"
 
49
#define DEFAULT_BASEDIR         "C:\\"
 
50
#define SHAREDIR                "share"
 
51
#define DEFAULT_CHARSET_HOME    "C:/mysql/"
 
52
#define _POSIX_PATH_MAX         255
 
53
#define DWORD                   ULONG
 
54
 
 
55
#define O_SHARE         0x1000          /* Open file in sharing mode */
 
56
#define FILE_BINARY     O_BINARY        /* my_fopen in binary mode */
 
57
#define S_IROTH         S_IREAD         /* for my_lib */
 
58
 
 
59
#define CANT_DELETE_OPEN_FILES          /* saves open files in a list, for delayed delete */
 
60
 
 
61
#define O_NONBLOCK      0x10
 
62
 
 
63
#define NO_OPEN_3                       /* For my_create() */
 
64
#define SIGQUIT         SIGTERM         /* No SIGQUIT */
 
65
#define SIGALRM         14              /* Alarm */
 
66
 
 
67
#define NO_FCNTL_NONBLOCK
 
68
 
 
69
#define EFBIG                      E2BIG
 
70
/*#define ENFILE                  EMFILE    */
 
71
/*#define ENAMETOOLONG          (EOS2ERR+2) */
 
72
/*#define ETIMEDOUT               145       */
 
73
/*#define EPIPE                   146       */
 
74
#define EROFS                   147
 
75
 
 
76
#define sleep(A)        DosSleep((A)*1000)
 
77
#define closesocket(A)  soclose(A)
 
78
 
 
79
#define F_OK            0
 
80
#define W_OK            2
 
81
 
 
82
#define bzero(x,y)      memset((x),'\0',(y))
 
83
#define bcopy(x,y,z)    memcpy((y),(x),(z))
 
84
#define bcmp(x,y,z)     memcmp((y),(x),(z))
 
85
 
 
86
#define F_RDLCK         4           /* Read lock.  */
 
87
#define F_WRLCK         2           /* Write lock.  */
 
88
#define F_UNLCK         0           /* Remove lock.  */
 
89
 
 
90
#define S_IFMT          0x17000     /* Mask for file type */
 
91
#define F_TO_EOF        0L          /* Param to lockf() to lock rest of file */
 
92
 
 
93
#define HUGE_PTR
 
94
 
 
95
#ifdef __cplusplus
 
96
extern "C"
 
97
#endif
 
98
double _cdecl rint( double nr);
 
99
 
 
100
DWORD    TlsAlloc( void);
 
101
BOOL     TlsFree( DWORD);
 
102
PVOID    TlsGetValue( DWORD);
 
103
BOOL     TlsSetValue( DWORD, PVOID);
 
104
 
 
105
/* support for > 2GB file size */
 
106
#define SIZEOF_OFF_T    8
 
107
#define lseek(A,B,C)    _lseek64( A, B, C)
 
108
#define tell(A)         _lseek64( A, 0, SEEK_CUR)
 
109
 
 
110
void* dlopen( char* path, int flag);
 
111
char* dlerror( void);
 
112
void* dlsym( void* hmod, char* fn);
 
113
void  dlclose( void* hmod);
 
114
 
 
115
/* Some typedefs */
 
116
typedef unsigned long long os_off_t;
 
117
 
 
118
/* config.h.  Generated automatically by configure.  */
 
119
/* config.h.in.  Generated automatically from configure.in by autoheader.  */
 
120
 
 
121
/* Define if using alloca.c.  */
 
122
/* #undef C_ALLOCA */
 
123
 
 
124
/* Define to empty if the keyword does not work.  */
 
125
/* #undef const */
 
126
 
 
127
/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
 
128
   This function is required for alloca.c support on those systems.  */
 
129
/* #undef CRAY_STACKSEG_END */
 
130
 
 
131
/* Define if you have alloca, as a function or macro.  */
 
132
#define HAVE_ALLOCA 1
 
133
 
 
134
/* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
 
135
/* #define HAVE_ALLOCA_H 1 */
 
136
 
 
137
/* Define if you don't have vprintf but do have _doprnt.  */
 
138
/* #undef HAVE_DOPRNT */
 
139
 
 
140
/* Define if you have a working `mmap' system call.  */
 
141
/* #undef HAVE_MMAP */
 
142
 
 
143
/* Define if system calls automatically restart after interruption
 
144
   by a signal.  */
 
145
/* #undef HAVE_RESTARTABLE_SYSCALLS */
 
146
 
 
147
/* Define if your struct stat has st_rdev.  */
 
148
#define HAVE_ST_RDEV 1
 
149
 
 
150
/* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
 
151
/* #define HAVE_SYS_WAIT_H 1 */
 
152
 
 
153
/* Define if you don't have tm_zone but do have the external array
 
154
   tzname.  */
 
155
#define HAVE_TZNAME 1
 
156
 
 
157
/* Define if utime(file, NULL) sets file's timestamp to the present.  */
 
158
#define HAVE_UTIME_NULL 1
 
159
 
 
160
/* Define if you have the vprintf function.  */
 
161
#define HAVE_VPRINTF 1
 
162
 
 
163
/* Define as __inline if that's what the C compiler calls it.  */
 
164
/* #undef inline */
 
165
 
 
166
/* Define to `long' if <sys/types.h> doesn't define.  */
 
167
/* #undef off_t */
 
168
 
 
169
/* Define as the return type of signal handlers (int or void).  */
 
170
#define RETSIGTYPE void
 
171
 
 
172
/* Define to `unsigned' if <sys/types.h> doesn't define.  */
 
173
/* #undef size_t */
 
174
 
 
175
/* If using the C implementation of alloca, define if you know the
 
176
   direction of stack growth for your system; otherwise it will be
 
177
   automatically deduced at run-time.
 
178
 STACK_DIRECTION > 0 => grows toward higher addresses
 
179
 STACK_DIRECTION < 0 => grows toward lower addresses
 
180
 STACK_DIRECTION = 0 => direction of growth unknown
 
181
 */
 
182
#define STACK_DIRECTION -1
 
183
 
 
184
/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
 
185
/* #undef STAT_MACROS_BROKEN */
 
186
 
 
187
/* Define if you have the ANSI C header files.  */
 
188
#define STDC_HEADERS 1
 
189
 
 
190
/* Define if you can safely include both <sys/time.h> and <time.h>.  */
 
191
#define TIME_WITH_SYS_TIME 1
 
192
 
 
193
/* Define if your <sys/time.h> declares struct tm.  */
 
194
/* #undef TM_IN_SYS_TIME */
 
195
 
 
196
/* Define if your processor stores words with the most significant
 
197
   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
 
198
/* #undef WORDS_BIGENDIAN */
 
199
 
 
200
/* Version of .frm files */
 
201
#define DOT_FRM_VERSION 6
 
202
 
 
203
/* READLINE: */
 
204
#define FIONREAD_IN_SYS_IOCTL 1
 
205
 
 
206
/* READLINE: Define if your system defines TIOCGWINSZ in sys/ioctl.h.  */
 
207
/* #undef GWINSZ_IN_SYS_IOCTL */
 
208
 
 
209
/* Do we have FIONREAD */
 
210
#define FIONREAD_IN_SYS_IOCTL 1
 
211
 
 
212
/* atomic_add() from <asm/atomic.h> (Linux only) */
 
213
/* #undef HAVE_ATOMIC_ADD */
 
214
 
 
215
/* atomic_sub() from <asm/atomic.h> (Linux only) */
 
216
/* #undef HAVE_ATOMIC_SUB */
 
217
 
 
218
/* bool is not defined by all C++ compilators */
 
219
#define HAVE_BOOL 1
 
220
 
 
221
/* Have berkeley db installed */
 
222
/* #define HAVE_BERKELEY_DB 1 */
 
223
 
 
224
/* DSB style signals ? */
 
225
/* #undef HAVE_BSD_SIGNALS */
 
226
 
 
227
/* Can netinet be included */
 
228
/* #undef HAVE_BROKEN_NETINET_INCLUDES */
 
229
 
 
230
/* READLINE: */
 
231
/* #undef HAVE_BSD_SIGNALS */
 
232
 
 
233
/* ZLIB and compress: */
 
234
#define HAVE_COMPRESS 1
 
235
 
 
236
/* Define if we are using OSF1 DEC threads */
 
237
/* #undef HAVE_DEC_THREADS */
 
238
 
 
239
/* Define if we are using OSF1 DEC threads on 3.2 */
 
240
/* #undef HAVE_DEC_3_2_THREADS */
 
241
 
 
242
/* fp_except from ieeefp.h */
 
243
/* #undef HAVE_FP_EXCEPT */
 
244
 
 
245
/* READLINE: */
 
246
/* #undef HAVE_GETPW_DECLS */
 
247
 
 
248
/* Solaris define gethostbyname_r with 5 arguments. glibc2 defines
 
249
   this with 6 arguments */
 
250
/* #undef HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE */
 
251
 
 
252
/* In OSF 4.0f the 3'd argument to gethostname_r is hostent_data * */
 
253
/* #undef HAVE_GETHOSTBYNAME_R_RETURN_INT */
 
254
 
 
255
/* Define if int8, int16 and int32 types exist */
 
256
/* #undef HAVE_INT_8_16_32 */
 
257
 
 
258
/* Define if have -lwrap */
 
259
/* #undef HAVE_LIBWRAP */
 
260
 
 
261
/* Define if we are using Xavier Leroy's LinuxThreads */
 
262
/* #undef HAVE_LINUXTHREADS */
 
263
 
 
264
/* Do we use user level threads */
 
265
/* #undef HAVE_mit_thread */
 
266
 
 
267
/* For some non posix threads */
 
268
/* #undef HAVE_NONPOSIX_PTHREAD_GETSPECIFIC */
 
269
 
 
270
/* For some non posix threads */
 
271
/* #undef HAVE_NONPOSIX_PTHREAD_MUTEX_INIT */
 
272
 
 
273
/* READLINE: */
 
274
#define HAVE_POSIX_SIGNALS 0
 
275
 
 
276
/* sigwait with one argument */
 
277
/* #undef HAVE_NONPOSIX_SIGWAIT */
 
278
 
 
279
/* pthread_attr_setscope */
 
280
#define HAVE_PTHREAD_ATTR_SETSCOPE 1
 
281
 
 
282
/* POSIX readdir_r */
 
283
/* #undef HAVE_READDIR_R */
 
284
 
 
285
/* POSIX sigwait */
 
286
/* #undef HAVE_SIGWAIT */
 
287
 
 
288
/* crypt */
 
289
#define HAVE_CRYPT 1
 
290
 
 
291
/* Solaris define gethostbyaddr_r with 7 arguments. glibc2 defines
 
292
   this with 8 arguments */
 
293
/* #undef HAVE_SOLARIS_STYLE_GETHOST */
 
294
 
 
295
/* Timespec has a ts_sec instead of tv_sev  */
 
296
#define HAVE_TIMESPEC_TS_SEC 1
 
297
 
 
298
/* Have the tzname variable */
 
299
#define HAVE_TZNAME 1
 
300
 
 
301
/* Define if the system files define uchar */
 
302
/* #undef HAVE_UCHAR */
 
303
 
 
304
/* Define if the system files define uint */
 
305
/* #undef HAVE_UINT */
 
306
 
 
307
/* Define if the system files define ulong */
 
308
/* #undef HAVE_ULONG */
 
309
 
 
310
/* UNIXWARE7 threads are not posix */
 
311
/* #undef HAVE_UNIXWARE7_THREADS */
 
312
 
 
313
/* new UNIXWARE7 threads that are not yet posix */
 
314
/* #undef HAVE_UNIXWARE7_POSIX */
 
315
 
 
316
/* READLINE: */
 
317
/* #undef HAVE_USG_SIGHOLD */
 
318
 
 
319
/* Define if want -lwrap */
 
320
/* #undef LIBWRAP */
 
321
 
 
322
/* mysql client protocoll version */
 
323
#define PROTOCOL_VERSION 10
 
324
 
 
325
/* Define if qsort returns void */
 
326
#define QSORT_TYPE_IS_VOID 1
 
327
 
 
328
/* Define as the return type of qsort (int or void). */
 
329
#define RETQSORTTYPE void
 
330
 
 
331
/* Define as the base type of the last arg to accept */
 
332
#define SOCKET_SIZE_TYPE int
 
333
 
 
334
/* Last argument to get/setsockopt */
 
335
/* #undef SOCKOPT_OPTLEN_TYPE */
 
336
 
 
337
/* #undef SPEED_T_IN_SYS_TYPES */
 
338
/* #undef SPRINTF_RETURNS_PTR */
 
339
#define SPRINTF_RETURNS_INT 1
 
340
/* #undef SPRINTF_RETURNS_GARBAGE */
 
341
 
 
342
/* #undef STRUCT_DIRENT_HAS_D_FILENO */
 
343
#define STRUCT_DIRENT_HAS_D_INO 1
 
344
 
 
345
/* Define if you want to have threaded code. This may be undef on client code */
 
346
#define THREAD 1
 
347
 
 
348
/* Should be client be thread safe */
 
349
/* #undef THREAD_SAFE_CLIENT */
 
350
 
 
351
/* READLINE: */
 
352
/* #undef TIOCSTAT_IN_SYS_IOCTL */
 
353
 
 
354
/* Use multi-byte character routines */
 
355
/* #undef USE_MB */
 
356
/* #undef USE_MB_IDENT */
 
357
 
 
358
/* Use MySQL RAID */
 
359
/* #undef USE_RAID */
 
360
 
 
361
/* Use strcoll() functions when comparing and sorting. */
 
362
/* #undef USE_STRCOLL */
 
363
 
 
364
/* READLINE: */
 
365
#define VOID_SIGHANDLER 1
 
366
 
 
367
/* The number of bytes in a char.  */
 
368
#define SIZEOF_CHAR 1
 
369
 
 
370
/* The number of bytes in a int.  */
 
371
#define SIZEOF_INT 4
 
372
 
 
373
/* The number of bytes in a long.  */
 
374
#define SIZEOF_LONG 4
 
375
 
 
376
/* The number of bytes in a long long.  */
 
377
#define SIZEOF_LONG_LONG 8
 
378
 
 
379
/* Define if you have the alarm function.  */
 
380
#define HAVE_ALARM 1
 
381
 
 
382
/* Define if you have the atod function.  */
 
383
/* #undef HAVE_ATOD */
 
384
 
 
385
/* Define if you have the bcmp function.  */
 
386
#define HAVE_BCMP 1
 
387
 
 
388
/* Define if you have the bfill function.  */
 
389
/* #undef HAVE_BFILL */
 
390
 
 
391
/* Define if you have the bmove function.  */
 
392
/* #undef HAVE_BMOVE */
 
393
 
 
394
/* Define if you have the bzero function.  */
 
395
#define HAVE_BZERO 1
 
396
 
 
397
/* Define if you have the chsize function.  */
 
398
#define HAVE_CHSIZE 1
 
399
 
 
400
/* Define if you have the cuserid function.  */
 
401
/* #define HAVE_CUSERID 1 */
 
402
 
 
403
/* Define if you have the dlerror function.  */
 
404
#define HAVE_DLERROR 1
 
405
 
 
406
/* Define if you have the dlopen function.  */
 
407
#define HAVE_DLOPEN 1
 
408
 
 
409
/* Define if you have the fchmod function.  */
 
410
/* #undef HAVE_FCHMOD */
 
411
 
 
412
/* Define if you have the fcntl function.  */
 
413
/* #define HAVE_FCNTL 1 */
 
414
 
 
415
/* Define if you have the fconvert function.  */
 
416
/* #undef HAVE_FCONVERT */
 
417
 
 
418
/* Define if you have the finite function.  */
 
419
/* #undef HAVE_FINITE */
 
420
 
 
421
/* Define if you have the fpresetsticky function.  */
 
422
/* #undef HAVE_FPRESETSTICKY */
 
423
 
 
424
/* Define if you have the fpsetmask function.  */
 
425
/* #undef HAVE_FPSETMASK */
 
426
 
 
427
/* Define if you have the fseeko function.  */
 
428
/* #undef HAVE_FSEEKO */
 
429
 
 
430
/* Define if you have the ftruncate function.  */
 
431
/* #define HAVE_FTRUNCATE 1 */
 
432
 
 
433
/* Define if you have the getcwd function.  */
 
434
#define HAVE_GETCWD 1
 
435
 
 
436
/* Define if you have the gethostbyaddr_r function.  */
 
437
/* #undef HAVE_GETHOSTBYADDR_R */
 
438
 
 
439
/* Define if you have the gethostbyname_r function.  */
 
440
/* #undef HAVE_GETHOSTBYNAME_R */
 
441
 
 
442
/* Define if you have the getpagesize function.  */
 
443
#define HAVE_GETPAGESIZE 1
 
444
 
 
445
/* Define if you have the getpass function.  */
 
446
/*#define HAVE_GETPASS 1 */
 
447
 
 
448
/* Define if you have the getpassphrase function.  */
 
449
/* #undef HAVE_GETPASSPHRASE */
 
450
 
 
451
/* Define if you have the getpwnam function.  */
 
452
/* #define HAVE_GETPWNAM 1 */
 
453
 
 
454
/* Define if you have the getpwuid function.  */
 
455
/* #define HAVE_GETPWUID 1 */
 
456
 
 
457
/* Define if you have the getrlimit function.  */
 
458
/* #undef HAVE_GETRLIMIT */
 
459
 
 
460
/* Define if you have the getrusage function.  */
 
461
/* #undef HAVE_GETRUSAGE */
 
462
 
 
463
/* Define if you have the getwd function.  */
 
464
#define HAVE_GETWD 1
 
465
 
 
466
/* Define to 1 if you have the `gmtime_r' function. */
 
467
#define HAVE_GMTIME_R 1
 
468
 
 
469
/* Define if you have the index function.  */
 
470
#define HAVE_INDEX 1
 
471
 
 
472
/* Define if you have the initgroups function.  */
 
473
/* #undef HAVE_INITGROUPS */
 
474
 
 
475
/* Define if you have the localtime_r function.  */
 
476
#define HAVE_LOCALTIME_R 1
 
477
 
 
478
/* Define if you have the locking function.  */
 
479
/* #undef HAVE_LOCKING */
 
480
 
 
481
/* Define if you have the longjmp function.  */
 
482
#define HAVE_LONGJMP 1
 
483
 
 
484
/* Define if you have the lrand48 function.  */
 
485
/* #undef HAVE_LRAND48 */
 
486
 
 
487
/* Define if you have the lstat function.  */
 
488
/* #undef HAVE_LSTAT */
 
489
 
 
490
/* Define if you have the madvise function.  */
 
491
/* #undef HAVE_MADVISE */
 
492
 
 
493
/* Define if you have the memcpy function.  */
 
494
#define HAVE_MEMCPY 1
 
495
 
 
496
/* Define if you have the memmove function.  */
 
497
#define HAVE_MEMMOVE 1
 
498
 
 
499
/* Define if you have the mkstemp function.  */
 
500
/* #define HAVE_MKSTEMP 1 */
 
501
 
 
502
/* Define if you have the mlockall function.  */
 
503
/* #undef HAVE_MLOCKALL */
 
504
 
 
505
/* Define if you have the perror function.  */
 
506
#define HAVE_PERROR 1
 
507
 
 
508
/* Define if you have the poll function.  */
 
509
/* #undef HAVE_POLL */
 
510
 
 
511
/* Define if you have the pread function.  */
 
512
/* #undef HAVE_PREAD */
 
513
 
 
514
/* Define if you have the pthread_attr_create function.  */
 
515
/* #undef HAVE_PTHREAD_ATTR_CREATE */
 
516
 
 
517
/* Define if you have the pthread_attr_setprio function.  */
 
518
#define HAVE_PTHREAD_ATTR_SETPRIO 1
 
519
 
 
520
/* Define if you have the pthread_attr_setschedparam function.  */
 
521
/* #undef HAVE_PTHREAD_ATTR_SETSCHEDPARAM */
 
522
 
 
523
/* Define if you have the pthread_attr_setstacksize function.  */
 
524
#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
 
525
 
 
526
/* Define if you have the pthread_condattr_create function.  */
 
527
/* #undef HAVE_PTHREAD_CONDATTR_CREATE */
 
528
 
 
529
/* Define if you have the pthread_getsequence_np function.  */
 
530
/* #undef HAVE_PTHREAD_GETSEQUENCE_NP */
 
531
 
 
532
/* Define if you have the pthread_init function.  */
 
533
/* #undef HAVE_PTHREAD_INIT */
 
534
 
 
535
/* Define if you have the pthread_rwlock_rdlock function.  */
 
536
/* #undef HAVE_PTHREAD_RWLOCK_RDLOCK */
 
537
 
 
538
/* Define if you have the pthread_setprio function.  */
 
539
#define HAVE_PTHREAD_SETPRIO 1
 
540
 
 
541
/* Define if you have the pthread_setprio_np function.  */
 
542
/* #undef HAVE_PTHREAD_SETPRIO_NP */
 
543
 
 
544
/* Define if you have the pthread_setschedparam function.  */
 
545
/* #undef HAVE_PTHREAD_SETSCHEDPARAM */
 
546
 
 
547
/* Define if you have the pthread_sigmask function.  */
 
548
#define HAVE_PTHREAD_SIGMASK 1
 
549
 
 
550
/* Define if you have the putenv function.  */
 
551
#define HAVE_PUTENV 1
 
552
 
 
553
/* Define if you have the readlink function.  */
 
554
/* #undef HAVE_READLINK */
 
555
 
 
556
/* Define if you have the realpath function.  */
 
557
/* #undef HAVE_REALPATH */
 
558
 
 
559
/* Define if you have the rename function.  */
 
560
#define HAVE_RENAME 1
 
561
 
 
562
/* Define if you have the rint function.  */
 
563
#define HAVE_RINT 1
 
564
 
 
565
/* Define if you have the rwlock_init function.  */
 
566
/* #undef HAVE_RWLOCK_INIT */
 
567
 
 
568
/* Define if you have the select function.  */
 
569
#define HAVE_SELECT 1
 
570
 
 
571
/* Define if you have the setenv function.  */
 
572
/* #undef HAVE_SETENV */
 
573
 
 
574
/* Define if you have the setlocale function.  */
 
575
#define HAVE_SETLOCALE 1
 
576
 
 
577
/* Define if you have the setupterm function.  */
 
578
/* #undef HAVE_SETUPTERM */
 
579
 
 
580
/* Define if you have the sighold function.  */
 
581
/* #undef HAVE_SIGHOLD */
 
582
 
 
583
/* Define if you have the sigset function.  */
 
584
/* #undef HAVE_SIGSET */
 
585
 
 
586
/* Define if you have the sigthreadmask function.  */
 
587
/* #undef HAVE_SIGTHREADMASK */
 
588
 
 
589
/* Define if you have the snprintf function.  */
 
590
/* #define HAVE_SNPRINTF 1 */
 
591
 
 
592
/* Define if you have the socket function.  */
 
593
#define HAVE_SOCKET 1
 
594
 
 
595
/* Define if you have the stpcpy function.  */
 
596
/* #undef HAVE_STPCPY */
 
597
 
 
598
/* Define if you have the strcasecmp function.  */
 
599
/* #undef HAVE_STRCASECMP */
 
600
 
 
601
/* Define if you have the strcoll function.  */
 
602
#define HAVE_STRCOLL 1
 
603
 
 
604
/* Define if you have the strerror function.  */
 
605
#define HAVE_STRERROR 1
 
606
 
 
607
/* Define if you have the strnlen function.  */
 
608
/* #undef HAVE_STRNLEN */
 
609
 
 
610
/* Define if you have the strpbrk function.  */
 
611
#define HAVE_STRPBRK 1
 
612
 
 
613
/* Define if you have the strstr function.  */
 
614
#define HAVE_STRSTR 1
 
615
 
 
616
/* Define if you have the strtok_r function.  */
 
617
/* #undef HAVE_STRTOK_R */
 
618
 
 
619
/* Define if you have the strtol function.  */
 
620
#define HAVE_STRTOL 1
 
621
 
 
622
/* Define if you have the strtoul function.  */
 
623
#define HAVE_STRTOUL 1
 
624
 
 
625
/* Define if you have the strtoull function.  */
 
626
/* #undef HAVE_STRTOULL */
 
627
 
 
628
/* Define if you have the tcgetattr function.  */
 
629
#define HAVE_TCGETATTR 1
 
630
 
 
631
/* Define if you have the tell function.  */
 
632
#define HAVE_TELL 1
 
633
 
 
634
/* Define if you have the tempnam function.  */
 
635
#define HAVE_TEMPNAM 1
 
636
 
 
637
/* Define if you have the thr_setconcurrency function.  */
 
638
/* #undef HAVE_THR_SETCONCURRENCY */
 
639
 
 
640
/* Define if you have the vidattr function.  */
 
641
/* #undef HAVE_VIDATTR */
 
642
 
 
643
/* Define if you have the <alloca.h> header file.  */
 
644
/* #define HAVE_ALLOCA_H 1 */
 
645
 
 
646
/* Define if you have the <arpa/inet.h> header file.  */
 
647
#define HAVE_ARPA_INET_H 1
 
648
 
 
649
/* Define if you have the <asm/termbits.h> header file.  */
 
650
/* #undef HAVE_ASM_TERMBITS_H */
 
651
 
 
652
/* Define if you have the <crypt.h> header file.  */
 
653
#define HAVE_CRYPT_H 1
 
654
 
 
655
/* Define if you have the <curses.h> header file.  */
 
656
/* #define HAVE_CURSES_H 1 */
 
657
 
 
658
/* Define if you have the <dirent.h> header file.  */
 
659
/* #define HAVE_DIRENT_H 1 */
 
660
 
 
661
/* Define if you have the <fcntl.h> header file.  */
 
662
#define HAVE_FCNTL_H 1
 
663
 
 
664
/* Define if you have the <float.h> header file.  */
 
665
#define HAVE_FLOAT_H 1
 
666
 
 
667
/* Define if you have the <floatingpoint.h> header file.  */
 
668
/* #undef HAVE_FLOATINGPOINT_H */
 
669
 
 
670
/* Define if you have the <grp.h> header file.  */
 
671
/* #define HAVE_GRP_H 1 */
 
672
 
 
673
/* Define if you have the <ieeefp.h> header file.  */
 
674
/* #undef HAVE_IEEEFP_H */
 
675
 
 
676
/* Define if you have the <limits.h> header file.  */
 
677
#define HAVE_LIMITS_H 1
 
678
 
 
679
/* Define if you have the <locale.h> header file.  */
 
680
#define HAVE_LOCALE_H 1
 
681
 
 
682
/* Define if you have the <memory.h> header file.  */
 
683
#define HAVE_MEMORY_H 1
 
684
 
 
685
/* Define if you have the <ndir.h> header file.  */
 
686
/* #undef HAVE_NDIR_H */
 
687
 
 
688
/* Define if you have the <netinet/in.h> header file.  */
 
689
#define HAVE_NETINET_IN_H 1
 
690
 
 
691
/* Define if you have the <paths.h> header file.  */
 
692
/* #undef HAVE_PATHS_H */
 
693
 
 
694
/* Define if you have the <pwd.h> header file.  */
 
695
/* #define HAVE_PWD_H 1 */
 
696
 
 
697
/* Define if you have the <sched.h> header file.  */
 
698
/* #undef HAVE_SCHED_H */
 
699
 
 
700
/* Define if you have the <select.h> header file.  */
 
701
/* #undef HAVE_SELECT_H */
 
702
 
 
703
/* Define if you have the <stdarg.h> header file.  */
 
704
#define HAVE_STDARG_H 1
 
705
 
 
706
/* Define if you have the <stddef.h> header file.  */
 
707
#define HAVE_STDDEF_H 1
 
708
 
 
709
/* Define if you have the <stdlib.h> header file.  */
 
710
#define HAVE_STDLIB_H 1
 
711
 
 
712
/* Define if you have the <string.h> header file.  */
 
713
#define HAVE_STRING_H 1
 
714
 
 
715
/* Define if you have the <strings.h> header file.  */
 
716
/* #define HAVE_STRINGS_H 1 */
 
717
 
 
718
/* Define if you have the <synch.h> header file.  */
 
719
/* #undef HAVE_SYNCH_H */
 
720
 
 
721
/* Define if you have the <sys/dir.h> header file.  */
 
722
/* #define HAVE_SYS_DIR_H 1 */
 
723
 
 
724
/* Define if you have the <sys/file.h> header file.  */
 
725
/* #define HAVE_SYS_FILE_H 1 */
 
726
 
 
727
/* Define if you have the <sys/ioctl.h> header file.  */
 
728
#define HAVE_SYS_IOCTL_H 1
 
729
 
 
730
/* Define if you have the <sys/mman.h> header file.  */
 
731
/* #undef HAVE_SYS_MMAN_H */
 
732
 
 
733
/* Define if you have the <sys/ndir.h> header file.  */
 
734
/* #undef HAVE_SYS_NDIR_H */
 
735
 
 
736
/* Define if you have the <sys/pte.h> header file.  */
 
737
/* #undef HAVE_SYS_PTE_H */
 
738
 
 
739
/* Define if you have the <sys/ptem.h> header file.  */
 
740
/* #undef HAVE_SYS_PTEM_H */
 
741
 
 
742
/* Define if you have the <sys/select.h> header file.  */
 
743
#define HAVE_SYS_SELECT_H 1
 
744
 
 
745
/* Define if you have the <sys/socket.h> header file.  */
 
746
#define HAVE_SYS_SOCKET_H 1
 
747
 
 
748
/* Define if you have the <sys/stream.h> header file.  */
 
749
/* #undef HAVE_SYS_STREAM_H */
 
750
 
 
751
/* Define if you have the <sys/timeb.h> header file.  */
 
752
#define HAVE_SYS_TIMEB_H 1
 
753
 
 
754
/* Define if you have the <sys/types.h> header file.  */
 
755
#define HAVE_SYS_TYPES_H 1
 
756
 
 
757
/* Define if you have the <sys/un.h> header file.  */
 
758
#define HAVE_SYS_UN_H 1
 
759
 
 
760
/* Define if you have the <sys/utime.h> header file.  */
 
761
#define HAVE_SYS_UTIME_H 1
 
762
 
 
763
/* Define if you have the <sys/vadvise.h> header file.  */
 
764
/* #undef HAVE_SYS_VADVISE_H */
 
765
 
 
766
/* Define if you have the <sys/wait.h> header file.  */
 
767
/* #define HAVE_SYS_WAIT_H 1 */
 
768
 
 
769
/* Define if you have the <term.h> header file.  */
 
770
/* #undef HAVE_TERM_H */
 
771
 
 
772
/* Define if you have the <termbits.h> header file.  */
 
773
/* #undef HAVE_TERMBITS_H */
 
774
 
 
775
/* Define if you have the <termcap.h> header file.  */
 
776
/* #define HAVE_TERMCAP_H 1 */
 
777
 
 
778
/* Define if you have the <termio.h> header file.  */
 
779
/* /#define HAVE_TERMIO_H 1 */
 
780
 
 
781
/* Define if you have the <termios.h> header file.  */
 
782
/* #define HAVE_TERMIOS_H 1 */
 
783
 
 
784
/* Define if you have the <unistd.h> header file.  */
 
785
#define HAVE_UNISTD_H 1
 
786
 
 
787
/* Define if you have the <utime.h> header file.  */
 
788
#define HAVE_UTIME_H 1
 
789
 
 
790
/* Define if you have the <varargs.h> header file.  */
 
791
#define HAVE_VARARGS_H 1
 
792
 
 
793
/* Define if you have the bind library (-lbind).  */
 
794
/* #undef HAVE_LIBBIND */
 
795
 
 
796
/* Define if you have the c_r library (-lc_r).  */
 
797
/* #undef HAVE_LIBC_R */
 
798
 
 
799
/* Define if you have the compat library (-lcompat).  */
 
800
/* #undef HAVE_LIBCOMPAT */
 
801
 
 
802
/* Define if you have the crypt library (-lcrypt).  */
 
803
#define HAVE_LIBCRYPT 1
 
804
 
 
805
/* Define if you have the dl library (-ldl).  */
 
806
#define HAVE_LIBDL 1
 
807
 
 
808
/* Define if you have the gen library (-lgen).  */
 
809
/* #undef HAVE_LIBGEN */
 
810
 
 
811
/* Define if you have the m library (-lm).  */
 
812
#define HAVE_LIBM 1
 
813
 
 
814
/* Define if you have the nsl library (-lnsl).  */
 
815
/* #undef HAVE_LIBNSL */
 
816
 
 
817
/* Define if you have the nsl_r library (-lnsl_r).  */
 
818
/* #undef HAVE_LIBNSL_R */
 
819
 
 
820
/* Define if you have the pthread library (-lpthread).  */
 
821
/* #undef HAVE_LIBPTHREAD */
 
822
 
 
823
/* Define if you have the socket library (-lsocket).  */
 
824
/* #undef HAVE_LIBSOCKET */
 
825
 
 
826
/* Number of bits in a file offset, on hosts where this is settable. */
 
827
/* #undef _FILE_OFFSET_BITS */
 
828
 
 
829
/* Define to make fseeko etc. visible, on some hosts. */
 
830
/* #undef _LARGEFILE_SOURCE */
 
831
 
 
832
/* Define for large files, on AIX-style hosts. */
 
833
/* #undef _LARGE_FILES */
 
834
 
 
835
#endif /* __CONFIG_OS2_H__ */