-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathconfig.h.in
More file actions
88 lines (75 loc) · 2.11 KB
/
Copy pathconfig.h.in
File metadata and controls
88 lines (75 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/* Generated by CMake from config.h.in
*
* Project-wide configuration header. This file is included by all C and C++
* source files in the project. The first part contains macro definitions that
* are used globally across the project.
*
* options.h is included here for predefines common to C and LPC code.
*
* Note that func_spec.c also includes config.h to get the option macros, with
* _LPC_FUNC_SPEC defined to opt-out C/C++-specific definitions.
*/
#cmakedefine HAVE_ARGP_H
#cmakedefine HAVE_DIRENT_H
#cmakedefine HAVE_FCNTL_H
#cmakedefine HAVE_INTTYPES_H
#cmakedefine HAVE_LIMITS_H
#cmakedefine HAVE_NETDB_H
#cmakedefine HAVE_SIGNAL_H
#cmakedefine HAVE_STDARG_H
#cmakedefine HAVE_STDBOOL_H
#cmakedefine HAVE_STDDEF_H
#cmakedefine HAVE_STDINT_H
#cmakedefine HAVE_SYS_IOCTL_H
#cmakedefine HAVE_SYS_PARAM_H
#cmakedefine HAVE_SYS_RESOURCE_H
#cmakedefine HAVE_SYS_TIME_H
#cmakedefine HAVE_SYS_TYPES_H
#cmakedefine HAVE_SYS_WAIT_H
#cmakedefine HAVE_TERMIOS_H
#cmakedefine HAVE_UNISTD_H
#cmakedefine HAVE_ARPA_TELNET_H
#cmakedefine HAVE_GETTIMEOFDAY
#cmakedefine HAVE_POLL
#cmakedefine HAVE_REALPATH
#cmakedefine HAVE_STPCPY
#cmakedefine HAVE_STRTOD
#cmakedefine HAVE_BOOST
#cmakedefine HAVE_BOOST_JSON
#cmakedefine HAVE_BOOST_JSON_HPP
#cmakedefine HAVE_JSONCPP
#cmakedefine HAVE_OPENSSL
#cmakedefine HAVE_CURL
#cmakedefine HAVE_CARES
#cmakedefine HAVE_GTEST
/* legacy MudOS options (generated from lib/lpc/options.h.in) */
#include "options.h"
#ifndef _LPC_FUNC_SPEC
#define PACKAGE "@CMAKE_PROJECT_NAME@"
#define VERSION "@CMAKE_PROJECT_VERSION@"
#ifndef RETSIGTYPE
/* C99 standard */
#define RETSIGTYPE void
#endif
/* Mark non-returning functions (fatal paths, longjmp, or C++ exception throw). */
#if defined(__GNUC__) || defined(__clang__)
# define NO_RETURN __attribute__((noreturn))
#else
# define NO_RETURN
#endif
#ifdef _WIN32
# define PLATFORM_UTF8_LOCALE ".UTF-8"
#else
# define PLATFORM_UTF8_LOCALE "C.UTF-8"
#endif
#ifndef _WIN32
typedef unsigned char BYTE;
#endif
#ifdef HAVE_STDBOOL_H
#include <stdbool.h>
#else
#define bool int
#define true 1
#define false 0
#endif /* !HAVE_STDBOOL_H */
#endif /* _LPC_FUNC_SPEC */