blob: 594dd57d4c826aeb9ef5b11e07c737cd20161daf [file] [log] [blame]
Alexandre Lisionddd731e2014-01-31 11:50:08 -05001/* Copyright (C) 2009 David Sugar, Tycho Softworks
2
3 This file is free software; as a special exception the author gives
4 unlimited permission to copy and/or distribute it, with or without
5 modifications, as long as this notice is preserved.
6
7 This program is distributed in the hope that it will be useful, but
8 WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
9 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10*/
11
12#define STDC_HEADERS 1
13
14#cmakedefine PACKAGE ${PROJECT_NAME}
15#cmakedefine VERSION "${VERSION}"
16
17#cmakedefine HAVE_CLOCK_NANOSLEEP 1
18#cmakedefine HAVE_DIRENT_H 1
19#cmakedefine HAVE_DLFCN_H 1
20#cmakedefine HAVE_ENDIAN_H 1
21#cmakedefine HAVE_INTTYPES_H 1
22#cmakedefine HAVE_LINUX_VERSION_H 1
23#cmakedefine HAVE_STDINT_H 1
24#cmakedefine HAVE_STDLIB_H 1
25#cmakedefine HAVE_SYS_FILIO_H 1
26#cmakedefine HAVE_SYS_MMAN_H 1
27#cmakedefine HAVE_SYS_POLL_H 1
28#cmakedefine HAVE_SYS_RESOURCE_H 1
29#cmakedefine HAVE_SYS_SHM_H 1
30#cmakedefine HAVE_SYS_STAT_H 1
31#cmakedefine HAVE_SYS_TIMEB_H 1
32#cmakedefine HAVE_SYS_TYPES_H 1
33#cmakedefine HAVE_SYS_WAIT_H 1
34#cmakedefine HAVE_UNISTD_H 1
35#cmakedefine HAVE_WCHAR_H 1
36#cmakedefine HAVE_REGEX_H 1
37#cmakedefine HAVE_SYS_INOTIFY_H 1
38#cmakedefine HAVE_SYS_EVENT_H 1
39#cmakedefine HAVE_SYSLOG_H 1
40#cmakedefine HAVE_LIBINTL_H 1
41#cmakedefine HAVE_NETINET_IN_H 1
42#cmakedefine HAVE_NET_IF_H 1
43#cmakedefine HAVE_SYS_PARAM_H 1
44#cmakedefine HAVE_SYS_FILE_H 1
45#cmakedefine HAVE_SYS_LOCKF_H 1
46#cmakedefine HAVE_REGEX_H 1
47
48#cmakedefine HAVE_FTOK 1
49#cmakedefine HAVE_GETADDRINFO 1
50#cmakedefine HAVE_GETHOSTBYNAME2 1
51#cmakedefine HAVE_INET_NTOP 1
52#cmakedefine HAVE_GMTIME_R 1
53#cmakedefine HAVE_LOCALTIME_R 1
54#cmakedefine HAVE_STRERROR_R 1
55#cmakedefine HAVE_MACH_CLOCK_H 1
56#cmakedefine HAVE_MACH_O_DYLD_H 1
57#cmakedefine HAVE_MEMORY_H 1
58#cmakedefine HAVE_NANOSLEEP 1
59#cmakedefine HAVE_POLL_H 1
60#cmakedefine HAVE_CLOCK_GETTIME 1
61#cmakedefine HAVE_POSIX_FADVISE 1
62#cmakedefine HAVE_POSIX_MEMALIGN 1
63#cmakedefine HAVE_PTHREAD_CONDATTR_SETCLOCK 1
64#cmakedefine HAVE_PTHREAD_DELAY 1
65#cmakedefine HAVE_PTHREAD_DELAY_NP 1
66#cmakedefine HAVE_PTHREAD_SETCONCURRENCY 1
67#cmakedefine HAVE_PTHREAD_SETSCHEDPRIO 1
68#cmakedefine HAVE_PTHREAD_YIELD 1
69#cmakedefine HAVE_PTHREAD_YIELD_NP 1
70#cmakedefine HAVE_SHL_LOAD 1
71#cmakedefine HAVE_SHM_OPEN 1
72#cmakedefine HAVE_SOCKETPAIR 1
73#define HAVE_STDEXCEPT 1 /* cannot seem to test in cmake... */
74#cmakedefine HAVE_STRICMP 1
75#cmakedefine HAVE_STRCOLL 1
76#cmakedefine HAVE_STRINGS_H 1
77#cmakedefine HAVE_STRISTR 1
78#cmakedefine HAVE_SYSCONF 1
79#cmakedefine HAVE_FTRUNCATE 1
80#cmakedefine HAVE_PWRITE 1
81#cmakedefine HAVE_SETPGRP 1
82#cmakedefine HAVE_SETLOCALE 1
83#cmakedefine HAVE_GETTEXT 1
84#cmakedefine HAVE_EXECVP 1
85#cmakedefine HAVE_ATEXIT 1
86#cmakedefine HAVE_LSTAT 1
87#cmakedefine HAVE_REALPATH 1
88#cmakedefine HAVE_SYMLINK 1
89#cmakedefine HAVE_READLINK 1
90#cmakedefine HAVE_WAITPID 1
91#cmakedefine HAVE_WAIT4 1
92#cmakedefine HAVE_FCNTL_H 1
93#cmakedefine HAVE_TERMIOS_H 1
94#cmakedefine HAVE_TERMIO_H 1
95#cmakedefine HAVE_OPENSSL_FIPS_H 1
96
97#cmakedefine POSIX_TIMERS 1
98#cmakedefine GCC_ATOMICS 1
99
100#cmakedefine UCOMMON_LOCALE "${UCOMMON_LOCALE}"
101#cmakedefine UCOMMON_CFGPATH "${UCOMMON_CFGPATH}"
102#cmakedefine UCOMMON_VARPATH "${UCOMMON_VARPATH}"
103#cmakedefine UCOMMON_PREFIX "${UCOMMON_PREFIX}"
104
105#ifdef GCC_ATOMICS
106#define HAVE_GCC_ATOMICS
107#endif
108
109#include <ucommon/platform.h>
110