-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconfig.h.in
77 lines (63 loc) · 1.52 KB
/
config.h.in
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
/*
* Pre-digested configuration header.
* Generated from cmake/config.h.in.
* Tested with MSVC, MinGW on Windows and with GCC on Linux.
* File prototype: msvc/config.h.vc.
*/
#ifndef _CONFIG_D
#define _CONFIG_D 1
/*
* `discount` feature macros - we want them all!
*/
#ifndef WITH_ID_ANCHOR
#define WITH_ID_ANCHOR 1
#endif
#ifndef WITH_FENCED_CODE
#define WITH_FENCED_CODE 1
#endif
#ifndef WITH_GITHUB_TAGS
#define WITH_GITHUB_TAGS 1
#endif
#ifndef USE_DISCOUNT_DL
#define USE_DISCOUNT_DL 1
#endif
#ifndef USE_EXTRA_DL
#define USE_EXTRA_DL 1
#endif
#ifdef _MSC_VER
/*
* The Visual C++ "C" compiler has a `__inline` keyword implemented
* in Visual Studio 2008 and later, see
* <http://msdn.microsoft.com/de-de/library/cx3b23a3%28v=vs.90%29.aspx>
*/
#if _MSC_VER >= 1500 /* VC 9.0, MSC_VER 15, Visual Studio 2008 */
#define inline __inline
#else
#define inline
#endif /* _MSC_VER >= 1500 */
#endif /* _MSC_VER */
@DEFINE_BZERO@
@DEFINE_STRCASECMP@
@DEFINE_STRNCASECMP@
/*
* Beware of conflicts with <Windows.h>, which typedef's these names.
*/
#ifndef WINVER
#define DWORD @DWORD@
#define WORD @WORD@
#define BYTE @BYTE@
#endif
#cmakedefine HAVE_PWD_H 1
#cmakedefine HAVE_GETPWUID 1
#cmakedefine HAVE_LIBGEN_H 1
#cmakedefine HAVE_BASENAME 1
#cmakedefine HAVE_RANDOM 1
#cmakedefine HAVE_SRANDOM 1
#define INITRNG(x) srand((unsigned int)x)
#define COINTOSS() (rand()&1)
#cmakedefine HAVE_FCHDIR 1
#cmakedefine HAVE_ALLOCA_H 1
#cmakedefine HAVE_MALLOC_H 1
#cmakedefine HAVE_STAT 1
#define TABSTOP @TABSTOP@
#endif /* _CONFIG_D */