forked from thpatch/thtk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h.in
91 lines (81 loc) · 1.9 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#ifndef THTK_CONFIG_H_
#define THTK_CONFIG_H_
#ifdef _MSC_VER
# define PRAGMA(x) __pragma(x)
#else
# define PRAGMA(x) _Pragma(#x)
#endif
#cmakedefine PACK_PRAGMA
#ifdef PACK_PRAGMA
# define PACK_BEGIN PRAGMA(pack(push,1))
# define PACK_END PRAGMA(pack(pop))
#else
# define PACK_BEGIN
# define PACK_END
#endif
#define PACK_ATTRIBUTE @PACK_ATTRIBUTE@
#cmakedefine WITH_LIBPNG_SOURCE
#cmakedefine PNG_FOUND
#if defined(WITH_LIBPNG_SOURCE) || defined(PNG_FOUND)
# define HAVE_LIBPNG
#endif
#cmakedefine HAVE_OFF_T
#cmakedefine HAVE_SIZE_T
#cmakedefine HAVE_SIZE_T_BASETSD
#if !defined(HAVE_SIZE_T) && defined(HAVE_SIZE_T_BASETSD)
# include <BaseTsd.h>
typedef SIZE_T size_t;
#endif
#cmakedefine HAVE_SSIZE_T
#cmakedefine HAVE_SSIZE_T_BASETSD
#if !defined(HAVE_SSIZE_T) && defined(HAVE_SSIZE_T_BASETSD)
# include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#endif
#cmakedefine HAVE_SYS_TYPES_H
#cmakedefine HAVE_STDINT_H
#cmakedefine HAVE_STDDEF_H
#cmakedefine HAVE_LIBGEN_H
#cmakedefine HAVE_SYS_STAT_H
#cmakedefine HAVE_SYS_MMAN_H
#cmakedefine HAVE_UNISTD_H
#ifndef HAVE_UNISTD_H
# define YY_NO_UNISTD_H
#endif
#cmakedefine HAVE__SPLITPATH
#cmakedefine HAVE_MEMPCPY
#cmakedefine HAVE_MMAP
#cmakedefine HAVE_MUNMAP
#cmakedefine HAVE_FEOF
#cmakedefine HAVE_FILENO
#cmakedefine HAVE_FREAD
#cmakedefine HAVE_FWRITE
#cmakedefine HAVE_GETC
#cmakedefine HAVE_PUTC
#ifdef _MSC_VER
# ifdef HAVE_FEOF
# define feof_unlocked feof
# endif
# ifdef HAVE_FILENO
# define fileno_unlocked fileno
# endif
# ifdef HAVE_FREAD
# define fread_unlocked fread
# endif
# ifdef HAVE_FWRITE
# define fwrite_unlocked fwrite
# endif
# ifdef HAVE_GETC
# define getc_unlocked getc
# endif
# ifdef HAVE_PUTC
# define putc_unlocked putc
# endif
# define API_SYMBOL __declspec(dllexport)
# include <io.h>
# include <fcntl.h>
#endif
#define PACKAGE_NAME "@PROJECT_NAME@"
#define PACKAGE_VERSION "@PROJECT_VERSION@"
#define PACKAGE_BUGREPORT "@PROJECT_BUGREPORT@"
#endif