1/* monetdb_config.h. Generated from monetdb_config.h.in by configure. */
2/* monetdb_config.h.in. Generated from configure.ac by autoheader. */
3
4
5#ifndef _SEEN_MONETDB_CONFIG_H
6#define _SEEN_MONETDB_CONFIG_H 1
7
8
9/* Define if building universal (internal helper macro) */
10/* #undef AC_APPLE_UNIVERSAL_BUILD */
11
12/* location where binaries are installed */
13#define BINDIR "/usr/local/bin"
14
15/* read-only architecture-independent data */
16#define DATA_DIR "/usr/local/share"
17
18/* Program to perform diffs */
19#define DIFF "diff"
20
21/* Directory separator */
22#define DIR_SEP '/'
23
24/* Directory separator */
25#define DIR_SEP_STR "/"
26
27/* Define to nothing if C supports flexible array members, and to 1 if it does
28 not. That way, with a declaration like `struct s { int n; double
29 d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99
30 compilers. When computing the size of such an object, don't use 'sizeof
31 (struct s)' as it overestimates the size. Use 'offsetof (struct s, d)'
32 instead. Don't use 'offsetof (struct s, d[0])', as this doesn't work with
33 MSVC and with C++ compilers. */
34#define FLEXIBLE_ARRAY_MEMBER /**/
35
36/* Define to 1 if you have the `accept4' function. */
37#define HAVE_ACCEPT4 1
38
39/* Define to 1 if you have the `asctime_r' function. */
40#define HAVE_ASCTIME_R 1
41
42/* Define if you have asctime_r(struct tm*,char *buf,size_t s) */
43/* #undef HAVE_ASCTIME_R3 */
44
45/* Define to 1 if you have the `backtrace' function. */
46#define HAVE_BACKTRACE 1
47
48/* Define to 1 if you have the <bam/bam.h> header file. */
49/* #undef HAVE_BAM_BAM_H */
50
51/* Define to 1 if you have the <bam/bgzf.h> header file. */
52/* #undef HAVE_BAM_BGZF_H */
53
54/* Define to 1 if you have the <bam/kstring.h> header file. */
55/* #undef HAVE_BAM_KSTRING_H */
56
57/* Define to 1 if you have the <bam/sam.h> header file. */
58/* #undef HAVE_BAM_SAM_H */
59
60/* Define to 1 if you have the `cbrt' function. */
61#define HAVE_CBRT 1
62
63/* Define to 1 if you have the `clock_gettime' function. */
64#define HAVE_CLOCK_GETTIME 1
65
66/* Define if you have the CommonCrypto library */
67/* #undef HAVE_COMMONCRYPTO */
68
69/* Define to 1 if you have the `ctime_r' function. */
70#define HAVE_CTIME_R 1
71
72/* Define if you have ctime_r(time_t*,char *buf,size_t s) */
73/* #undef HAVE_CTIME_R3 */
74
75/* Define if you have the cURL library */
76#define HAVE_CURL 1
77
78/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
79 */
80/* #undef HAVE_DECL_TZNAME */
81
82/* Define to 1 if you have the <dirent.h> header file. */
83#define HAVE_DIRENT_H 1
84
85/* Define to 1 if you have the <dispatch/dispatch.h> header file. */
86/* #undef HAVE_DISPATCH_DISPATCH_H */
87
88/* Define to 1 if you have the `dispatch_semaphore_create' function. */
89/* #undef HAVE_DISPATCH_SEMAPHORE_CREATE */
90
91/* Define to 1 if you have the <dlfcn.h> header file. */
92#define HAVE_DLFCN_H 1
93
94/* Support for MonetDB as a library */
95/* #undef HAVE_EMBEDDED */
96
97/* Support for MonetDB as a library for R */
98/* #undef HAVE_EMBEDDED_R */
99
100/* Define to 1 if you have the <execinfo.h> header file. */
101#define HAVE_EXECINFO_H 1
102
103/* Define to 1 if you have the `fallocate' function. */
104#define HAVE_FALLOCATE 1
105
106/* Define to 1 if you have the `fcntl' function. */
107#define HAVE_FCNTL 1
108
109/* Define to 1 if you have the <fcntl.h> header file. */
110#define HAVE_FCNTL_H 1
111
112/* If the system has a working fdatasync */
113#define HAVE_FDATASYNC 1
114
115/* Define if the fits module is to be enabled */
116/* #undef HAVE_FITS */
117
118/* Define if fork exists */
119#define HAVE_FORK 1
120
121/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
122#define HAVE_FSEEKO 1
123
124/* Define to 1 if you have the `fsync' function. */
125#define HAVE_FSYNC 1
126
127/* Define to 1 if you have the `ftime' function. */
128#define HAVE_FTIME 1
129
130/* Define to 1 if you have the `getaddrinfo' function. */
131#define HAVE_GETADDRINFO 1
132
133/* Define to 1 if you have the `getexecname' function. */
134/* #undef HAVE_GETEXECNAME */
135
136/* Define to 1 if you have the `getlogin' function. */
137#define HAVE_GETLOGIN 1
138
139/* Define to 1 if you have the `getopt' function. */
140#define HAVE_GETOPT 1
141
142/* Define to 1 if you have the <getopt.h> header file. */
143#define HAVE_GETOPT_H 1
144
145/* Define to 1 if you have the `getopt_long' function. */
146#define HAVE_GETOPT_LONG 1
147
148/* Define to 1 if you have the `getrlimit' function. */
149#define HAVE_GETRLIMIT 1
150
151/* Define to 1 if you have the `gettimeofday' function. */
152#define HAVE_GETTIMEOFDAY 1
153
154/* Define to 1 if you have the `getuid' function. */
155#define HAVE_GETUID 1
156
157/* Define to 1 if you have the `gmtime_r' function. */
158#define HAVE_GMTIME_R 1
159
160/* Define if you have the iconv() function and it works. */
161#define HAVE_ICONV 1
162
163/* Define to 1 if you have the <iconv.h> header file. */
164#define HAVE_ICONV_H 1
165
166/* Define to 1 if the system has the type `intptr_t'. */
167#define HAVE_INTPTR_T 1
168
169/* Define to 1 if you have the <inttypes.h> header file. */
170#define HAVE_INTTYPES_H 1
171
172/* Define to 1 if you have the <io.h> header file. */
173/* #undef HAVE_IO_H */
174
175/* Define to 1 if you have the <kvm.h> header file. */
176/* #undef HAVE_KVM_H */
177
178/* Define to 1 if you have the <langinfo.h> header file. */
179#define HAVE_LANGINFO_H 1
180
181/* Define if you have the bz2 library */
182/* #undef HAVE_LIBBZ2 */
183
184/* Define to 1 if you have the <libgen.h> header file. */
185#define HAVE_LIBGEN_H 1
186
187/* Define to 1 if you have the <libintl.h> header file. */
188#define HAVE_LIBINTL_H 1
189
190/* Define if you have the lz4 library */
191/* #undef HAVE_LIBLZ4 */
192
193/* Define if you have the lzma library */
194#define HAVE_LIBLZMA 1
195
196/* Define if you have the pcre library */
197#define HAVE_LIBPCRE 1
198
199/* Define if you have the pthread library */
200#define HAVE_LIBPTHREAD 1
201
202/* Define if we can link to python2 */
203/* #undef HAVE_LIBPY2 */
204
205/* Define if we can link to python3 */
206/* #undef HAVE_LIBPY3 */
207
208/* Define if you have libR installed */
209/* #undef HAVE_LIBR */
210
211/* Define if you have the readline library */
212#define HAVE_LIBREADLINE 1
213
214/* Define if you have the snappy library */
215#define HAVE_LIBSNAPPY 1
216
217/* Define if you have the xml library */
218#define HAVE_LIBXML 1
219
220/* Define if you have the z library */
221#define HAVE_LIBZ 1
222
223/* Define to 1 if you have the `localtime_r' function. */
224#define HAVE_LOCALTIME_R 1
225
226/* Define to 1 if you have the `lockf' function. */
227#define HAVE_LOCKF 1
228
229/* Define to 1 if you have the <mach/mach_init.h> header file. */
230/* #undef HAVE_MACH_MACH_INIT_H */
231
232/* Define to 1 if you have the <mach-o/dyld.h> header file. */
233/* #undef HAVE_MACH_O_DYLD_H */
234
235/* Define to 1 if you have the <mach/task.h> header file. */
236/* #undef HAVE_MACH_TASK_H */
237
238/* Define to 1 if you have the `madvise' function. */
239#define HAVE_MADVISE 1
240
241/* Enable MAPI */
242#define HAVE_MAPI 1
243
244/* Define to 1 if you have the `MD5_Update' function. */
245#define HAVE_MD5_UPDATE 1
246
247/* Define to 1 if you have the <memory.h> header file. */
248#define HAVE_MEMORY_H 1
249
250/* Define to 1 if you have the `mremap' function. */
251#define HAVE_MREMAP 1
252
253/* Define to 1 if you have the `nanosleep' function. */
254#define HAVE_NANOSLEEP 1
255
256/* Define if the netcdf module is to be enabled */
257/* #undef HAVE_NETCDF */
258
259/* Define to 1 if you have the <netdb.h> header file. */
260#define HAVE_NETDB_H 1
261
262/* Define to 1 if you have the <netinet/in.h> header file. */
263#define HAVE_NETINET_IN_H 1
264
265/* Define to 1 if you have the `nl_langinfo' function. */
266#define HAVE_NL_LANGINFO 1
267
268/* Define to 1 if you have the <odbcinst.h> header file. */
269/* #undef HAVE_ODBCINST_H */
270
271/* Define if you have the OpenSSL library */
272#define HAVE_OPENSSL 1
273
274/* Define to 1 if you have the `pipe2' function. */
275#define HAVE_PIPE2 1
276
277/* Define to 1 if you have the `poll' function. */
278#define HAVE_POLL 1
279
280/* Define to 1 if you have the <poll.h> header file. */
281#define HAVE_POLL_H 1
282
283/* Define to 1 if you have the `popen' function. */
284#define HAVE_POPEN 1
285
286/* Define to 1 if you have the `posix_fadvise' function. */
287#define HAVE_POSIX_FADVISE 1
288
289/* Define to 1 if you have the `posix_fallocate' function. */
290#define HAVE_POSIX_FALLOCATE 1
291
292/* Define to 1 if you have the `posix_madvise' function. */
293#define HAVE_POSIX_MADVISE 1
294
295/* Define to 1 if you have the <procfs.h> header file. */
296/* #undef HAVE_PROCFS_H */
297
298/* Define if the proj library exists */
299/* #undef HAVE_PROJ */
300
301/* Define to 1 if you have the <pthread.h> header file. */
302#define HAVE_PTHREAD_H 1
303
304/* Define if you have the pthread_kill function */
305#define HAVE_PTHREAD_KILL 1
306
307/* Define if you have the pthread_sigmask function */
308#define HAVE_PTHREAD_SIGMASK 1
309
310/* Define to 1 if the system has the type `ptrdiff_t'. */
311#define HAVE_PTRDIFF_T 1
312
313/* Define to 1 if you have the `putenv' function. */
314#define HAVE_PUTENV 1
315
316/* Define to 1 if you have the <pwd.h> header file. */
317#define HAVE_PWD_H 1
318
319/* Define to 1 if you have the `RIPEMD160_Update' function. */
320#define HAVE_RIPEMD160_UPDATE 1
321
322/* Define if you have the samtools version 0.1.x (providing the bam library)
323 */
324/* #undef HAVE_SAMTOOLS */
325
326/* Define to 1 if you have the <samtools/bam.h> header file. */
327/* #undef HAVE_SAMTOOLS_BAM_H */
328
329/* Define to 1 if you have the <samtools/bgzf.h> header file. */
330/* #undef HAVE_SAMTOOLS_BGZF_H */
331
332/* Define to 1 if you have the <samtools/kstring.h> header file. */
333/* #undef HAVE_SAMTOOLS_KSTRING_H */
334
335/* Define to 1 if you have the <samtools/sam.h> header file. */
336/* #undef HAVE_SAMTOOLS_SAM_H */
337
338/* Define to 1 if you have the <sched.h> header file. */
339#define HAVE_SCHED_H 1
340
341/* Define to 1 if you have the <semaphore.h> header file. */
342#define HAVE_SEMAPHORE_H 1
343
344/* Define if semtimedop exists */
345#define HAVE_SEMTIMEDOP 1
346
347/* Define to 1 if you have the `setenv' function. */
348#define HAVE_SETENV 1
349
350/* Define to 1 if you have the `setsid' function. */
351#define HAVE_SETSID 1
352
353/* Define to 1 if you have the `SHA1_Update' function. */
354#define HAVE_SHA1_UPDATE 1
355
356/* Define to 1 if you have the `SHA224_Update' function. */
357#define HAVE_SHA224_UPDATE 1
358
359/* Define to 1 if you have the `SHA256_Update' function. */
360#define HAVE_SHA256_UPDATE 1
361
362/* Define to 1 if you have the `SHA384_Update' function. */
363#define HAVE_SHA384_UPDATE 1
364
365/* Define to 1 if you have the `SHA512_Update' function. */
366#define HAVE_SHA512_UPDATE 1
367
368/* Define to 1 if you have the `shutdown' function. */
369#define HAVE_SHUTDOWN 1
370
371/* Define to 1 if you have the `sigaction' function. */
372#define HAVE_SIGACTION 1
373
374/* Define to 1 if the system has the type `socklen_t'. */
375#define HAVE_SOCKLEN_T 1
376
377/* Define if you have the SQLGetPrivateProfileString function */
378/* #undef HAVE_SQLGETPRIVATEPROFILESTRING */
379
380/* Define to 1 if you have the <stdatomic.h> header file. */
381#define HAVE_STDATOMIC_H 1
382
383/* Define to 1 if stdbool.h conforms to C99. */
384#define HAVE_STDBOOL_H 1
385
386/* Define to 1 if you have the <stdint.h> header file. */
387#define HAVE_STDINT_H 1
388
389/* Define to 1 if you have the <stdlib.h> header file. */
390#define HAVE_STDLIB_H 1
391
392/* Define to 1 if you have the `stpcpy' function. */
393#define HAVE_STPCPY 1
394
395/* Define to 1 if you have the `strcasestr' function. */
396#define HAVE_STRCASESTR 1
397
398/* Define to 1 if you have the <strings.h> header file. */
399#define HAVE_STRINGS_H 1
400
401/* Define to 1 if you have the <string.h> header file. */
402#define HAVE_STRING_H 1
403
404/* Define to 1 if you have the `strncasecmp' function. */
405#define HAVE_STRNCASECMP 1
406
407/* Define to 1 if you have the <stropts.h> header file. */
408#define HAVE_STROPTS_H 1
409
410/* Define to 1 if you have the `strptime' function. */
411#define HAVE_STRPTIME 1
412
413/* Define to 1 if you have the `strsignal' function. */
414#define HAVE_STRSIGNAL 1
415
416/* Define to 1 if `tm_zone' is a member of `struct tm'. */
417#define HAVE_STRUCT_TM_TM_ZONE 1
418
419/* Define to 1 if you have the `sysconf' function. */
420#define HAVE_SYSCONF 1
421
422/* Define to 1 if you have the <sys/file.h> header file. */
423#define HAVE_SYS_FILE_H 1
424
425/* Define to 1 if you have the <sys/ioctl.h> header file. */
426#define HAVE_SYS_IOCTL_H 1
427
428/* Define to 1 if you have the <sys/mman.h> header file. */
429#define HAVE_SYS_MMAN_H 1
430
431/* Define to 1 if you have the <sys/param.h> header file. */
432#define HAVE_SYS_PARAM_H 1
433
434/* Define to 1 if you have the <sys/resource.h> header file. */
435#define HAVE_SYS_RESOURCE_H 1
436
437/* Define to 1 if you have the <sys/socket.h> header file. */
438#define HAVE_SYS_SOCKET_H 1
439
440/* Define to 1 if you have the <sys/stat.h> header file. */
441#define HAVE_SYS_STAT_H 1
442
443/* Define to 1 if you have the <sys/sysctl.h> header file. */
444/* #undef HAVE_SYS_SYSCTL_H */
445
446/* Define to 1 if you have the <sys/times.h> header file. */
447#define HAVE_SYS_TIMES_H 1
448
449/* Define to 1 if you have the <sys/time.h> header file. */
450#define HAVE_SYS_TIME_H 1
451
452/* Define to 1 if you have the <sys/types.h> header file. */
453#define HAVE_SYS_TYPES_H 1
454
455/* Define to 1 if you have the <sys/uio.h> header file. */
456#define HAVE_SYS_UIO_H 1
457
458/* Define to 1 if you have the <sys/un.h> header file. */
459#define HAVE_SYS_UN_H 1
460
461/* Define to 1 if you have the <sys/utime.h> header file. */
462/* #undef HAVE_SYS_UTIME_H */
463
464/* Define to 1 if you have the <sys/wait.h> header file. */
465#define HAVE_SYS_WAIT_H 1
466
467/* Define to 1 if you have the `task_info' function. */
468/* #undef HAVE_TASK_INFO */
469
470/* Define to 1 if you have the <termios.h> header file. */
471#define HAVE_TERMIOS_H 1
472
473/* Define to 1 if you have the `times' function. */
474#define HAVE_TIMES 1
475
476/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
477 `HAVE_STRUCT_TM_TM_ZONE' instead. */
478#define HAVE_TM_ZONE 1
479
480/* Define to 1 if you don't have `tm_zone' but do have the external array
481 `tzname'. */
482/* #undef HAVE_TZNAME */
483
484/* Define to 1 if the system has the type `uintptr_t'. */
485#define HAVE_UINTPTR_T 1
486
487/* Define to 1 if you have the `uname' function. */
488#define HAVE_UNAME 1
489
490/* Define to 1 if you have the <unistd.h> header file. */
491#define HAVE_UNISTD_H 1
492
493/* uuid */
494/* #undef HAVE_UUID */
495
496/* Define to 1 if you have the <uuid/uuid.h> header file. */
497/* #undef HAVE_UUID_UUID_H */
498
499/* Define if you have valgrind installed and want to use it */
500/* #undef HAVE_VALGRIND */
501
502/* Define to 1 if you have the <winsock.h> header file. */
503/* #undef HAVE_WINSOCK_H */
504
505/* Define to 1 if the system has the type `_Bool'. */
506#define HAVE__BOOL 1
507
508/* Define to 1 if you have the `_NSGetExecutablePath' function. */
509/* #undef HAVE__NSGETEXECUTABLEPATH */
510
511/* Define if you have _sys_siglist */
512/* #undef HAVE__SYS_SIGLIST */
513
514/* Define if you have the `__builtin_{add,sub,mul}_overflow' functions. */
515#define HAVE___BUILTIN_ADD_OVERFLOW 1
516
517/* Define to 1 if the system has the type `__int128'. */
518#define HAVE___INT128 1
519
520/* Define to 1 if the system has the type `__int128_t'. */
521#define HAVE___INT128_T 1
522
523/* Define to 1 if the system has the type `__uint128_t'. */
524#define HAVE___UINT128_T 1
525
526/* Host identifier */
527#define HOST "x86_64-pc-linux-gnu"
528
529/* Define as const if the declaration of iconv() needs const. */
530#define ICONV_CONST
531
532/* Define if using Intel compiler with incompatible system math.h */
533/* #undef INTEL_MATH_H_HACK */
534
535/* Define as SQLLEN * or SQLPOINTER depending on the include file */
536/* #undef LENP_OR_POINTER_T */
537
538/* location where libraries are installed */
539#define LIBDIR "/usr/local/lib"
540
541/* modifiable single-machine data */
542#define LOCALSTATEDIR "/usr/local/var"
543
544/* Define to the sub-directory where libtool stores uninstalled libraries. */
545#define LT_OBJDIR ".libs/"
546
547/* The used password hash algorithm */
548#define MONETDB5_PASSWDHASH "SHA512"
549
550/* The used password hash algorithm */
551#define MONETDB5_PASSWDHASH_TOKEN SHA512
552
553/* Define if NAN cannot be used as static initializer */
554/* #undef NAN_CANNOT_BE_USED_AS_INITIALIZER */
555
556/* Define if you do not want assertions */
557/* #undef NDEBUG */
558
559/* Name of package */
560#define PACKAGE "MonetDB"
561
562/* Define to the address where bug reports for this package should be sent. */
563#define PACKAGE_BUGREPORT "https://bugs.monetdb.org/"
564
565/* Define to the full name of this package. */
566#define PACKAGE_NAME "MonetDB"
567
568/* Define to the full name and version of this package. */
569#define PACKAGE_STRING "MonetDB 11.36.0"
570
571/* Define to the one symbol short name of this package. */
572#define PACKAGE_TARNAME "MonetDB"
573
574/* Define to the home page for this package. */
575#define PACKAGE_URL "https://www.monetdb.org/"
576
577/* Define to the version of this package. */
578#define PACKAGE_VERSION "11.36.0"
579
580/* Path separator */
581#define PATH_SEP ':'
582
583/* Path separator */
584#define PATH_SEP_STR ":"
585
586/* The home of R */
587/* #undef RHOME */
588
589/* The size of `char', as computed by sizeof. */
590#define SIZEOF_CHAR 1
591
592/* The size of `int', as computed by sizeof. */
593#define SIZEOF_INT 4
594
595/* The size of `long', as computed by sizeof. */
596#define SIZEOF_LONG 8
597
598/* The size of `ptrdiff_t', as computed by sizeof. */
599#define SIZEOF_PTRDIFF_T 8
600
601/* The size of `short', as computed by sizeof. */
602#define SIZEOF_SHORT 2
603
604/* The size of `size_t', as computed by sizeof. */
605#define SIZEOF_SIZE_T 8
606
607/* The size of `SQLWCHAR', as computed by sizeof. */
608/* #undef SIZEOF_SQLWCHAR */
609
610/* The size of `ssize_t', as computed by sizeof. */
611#define SIZEOF_SSIZE_T 8
612
613/* The size of `void *', as computed by sizeof. */
614#define SIZEOF_VOID_P 8
615
616/* The size of `wchar_t', as computed by sizeof. */
617#define SIZEOF_WCHAR_T 4
618
619/* The size of `__int128', as computed by sizeof. */
620#define SIZEOF___INT128 16
621
622/* The size of `__int128_t', as computed by sizeof. */
623#define SIZEOF___INT128_T 16
624
625/* type used for sockets */
626#define SOCKET int
627
628/* Shared Object extension */
629#define SO_EXT ".so"
630
631/* Shared Object prefix */
632#define SO_PREFIX "lib"
633
634/* compiling for static code analysis */
635/* #undef STATIC_CODE_ANALYSIS */
636
637/* Define to 1 if you have the ANSI C header files. */
638#define STDC_HEADERS 1
639
640/* Define to 1 if your <sys/time.h> declares `struct tm'. */
641/* #undef TM_IN_SYS_TIME */
642
643/* Enable extensions on AIX 3, Interix. */
644#ifndef _ALL_SOURCE
645# define _ALL_SOURCE 1
646#endif
647/* Enable GNU extensions on systems that have them. */
648#ifndef _GNU_SOURCE
649# define _GNU_SOURCE 1
650#endif
651/* Enable threading extensions on Solaris. */
652#ifndef _POSIX_PTHREAD_SEMANTICS
653# define _POSIX_PTHREAD_SEMANTICS 1
654#endif
655/* Enable extensions on HP NonStop. */
656#ifndef _TANDEM_SOURCE
657# define _TANDEM_SOURCE 1
658#endif
659/* Enable general extensions on Solaris. */
660#ifndef __EXTENSIONS__
661# define __EXTENSIONS__ 1
662#endif
663
664
665/* Version number of package */
666#define VERSION "11.36.0"
667
668/* Define on Microsoft Windows (also under Cygwin) */
669/* #undef WIN32 */
670
671/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
672 significant byte first (like Motorola and SPARC, unlike Intel). */
673#if defined AC_APPLE_UNIVERSAL_BUILD
674# if defined __BIG_ENDIAN__
675# define WORDS_BIGENDIAN 1
676# endif
677#else
678# ifndef WORDS_BIGENDIAN
679/* # undef WORDS_BIGENDIAN */
680# endif
681#endif
682
683/* Enable large inode numbers on Mac OS X 10.5. */
684#ifndef _DARWIN_USE_64_BIT_INODE
685# define _DARWIN_USE_64_BIT_INODE 1
686#endif
687
688/* Number of bits in a file offset, on hosts where this is settable. */
689/* #undef _FILE_OFFSET_BITS */
690
691/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
692/* #undef _LARGEFILE_SOURCE */
693
694/* Define for large files, on AIX-style hosts. */
695/* #undef _LARGE_FILES */
696
697/* Define to 1 if on MINIX. */
698/* #undef _MINIX */
699
700/* Does your compiler support the `_Noreturn' specifier? */
701/* #undef _Noreturn */
702
703/* Define to 2 if the system does not provide POSIX.1 features except with
704 this defined. */
705/* #undef _POSIX_1_SOURCE */
706
707/* Define to 1 if you need to in order for `stat' and other things to work. */
708/* #undef _POSIX_SOURCE */
709
710/* Define to 1 if type `char' is unsigned and you are not using gcc. */
711#ifndef __CHAR_UNSIGNED__
712/* # undef __CHAR_UNSIGNED__ */
713#endif
714
715/* libxml2 enable threading compiler flag */
716/* #undef __MT__ */
717
718/* Does your compiler support the `__hidden' specifier? */
719#define __hidden /* empty */
720
721/* Define to `__inline__' or `__inline' if that's what the C compiler
722 calls it, or to nothing if 'inline' is not supported under any name. */
723#ifndef __cplusplus
724/* #undef inline */
725#endif
726
727/* Define to `long int' if <sys/types.h> does not define. */
728/* #undef off_t */
729
730/* Define to `int' if <sys/types.h> does not define. */
731/* #undef pid_t */
732
733/* Define to the equivalent of the C99 'restrict' keyword, or to
734 nothing if this is not supported. Do not define if restrict is
735 supported directly. */
736#define restrict __restrict
737/* Work around a bug in Sun C++: it does not support _Restrict or
738 __restrict__, even though the corresponding Sun C compiler ends up with
739 "#define restrict _Restrict" or "#define restrict __restrict__" in the
740 previous line. Perhaps some future version of Sun C++ will work with
741 restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
742#if defined __SUNPRO_CC && !defined __RESTRICT
743# define _Restrict
744# define __restrict__
745#endif
746
747/* Define to `unsigned int' if <sys/types.h> does not define. */
748/* #undef size_t */
749
750/* type used by connect */
751/* #undef socklen_t */
752
753/* Define to `int' if <sys/types.h> does not define. */
754/* #undef ssize_t */
755
756
757#ifdef INTEL_MATH_H_HACK
758/* see https://software.intel.com/en-us/forums/intel-c-compiler/topic/760979 */
759typedef enum {
760 _IEEE_ = -1, /* According to IEEE 754/IEEE 854. */
761 _SVID_, /* According to System V, release 4. */
762 _XOPEN_, /* Nowadays also Unix98. */
763 _POSIX_,
764 _ISOC_ /* Actually this is ISO C99. */
765} _LIB_VERSION_TYPE;
766#endif
767
768#ifdef HAVE_SYS_TYPES_H
769# include <sys/types.h>
770#endif
771
772#include <stdio.h> /* NULL, printf etc. */
773
774#include <stdlib.h>
775#include <errno.h>
776#include <stdarg.h> /* va_alist.. */
777#include <inttypes.h>
778#include <stdbool.h>
779#include <assert.h>
780
781#ifndef static_assert
782/* static_assert is a C11 feature, defined in assert.h which also exists
783 * in many other compilers we ignore it if the compiler doesn't support it */
784#define static_assert(expr, mesg) ((void) 0)
785#endif
786
787#ifndef HAVE_STPCPY
788static inline char *
789stpcpy(char *restrict dst, const char *restrict src)
790{
791 size_t i;
792 for (i = 0; src[i]; i++)
793 dst[i] = src[i];
794 dst[i] = 0;
795 return dst + i;
796}
797#endif
798
799#if defined(HAVE___INT128)
800typedef __int128 hge;
801typedef unsigned __int128 uhge;
802#define HAVE_HGE 1
803#define SIZEOF_HGE SIZEOF___INT128
804#elif defined(HAVE___INT128_T) && defined(HAVE___UINT128_T)
805typedef __int128_t hge;
806typedef __uint128_t uhge;
807#define HAVE_HGE 1
808#define SIZEOF_HGE SIZEOF___INT128_T
809#endif
810
811#ifndef HAVE_WINSOCK_H
812/* on Windows use closesocket, otherwise just close */
813#define closesocket close
814#endif
815
816#if !defined(WIN32) && !defined(_In_z_)
817/* see https://docs.microsoft.com/en-us/visualstudio/code-quality/using-sal-annotations-to-reduce-c-cpp-code-defects
818 * and Visual Studio include file <sal.h> */
819# define _In_z_
820# define _Printf_format_string_
821#endif
822
823#ifndef WIN32
824# define __declspec(x)
825#endif
826
827/* These are required to make MonetDB's source tree CRAN-compliant */
828#ifdef HAVE_EMBEDDED_R
829#include "tools/embedded/undef.h"
830#endif
831
832#define PROMPT1 "\001\001\n" /* prompt: ready for new query */
833#define PROMPT2 "\001\002\n" /* prompt: more data needed */
834#define PROMPT3 "\001\003\n" /* prompt: get file content */
835
836#endif /* _SEEN_MONETDB_CONFIG_H */
837
838