-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathconfig.h.in
More file actions
60 lines (51 loc) · 1.26 KB
/
config.h.in
File metadata and controls
60 lines (51 loc) · 1.26 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
#ifndef THTK_CONFIG_H_
#define THTK_CONFIG_H_
#ifdef _MSC_VER
# define PRAGMA(x) __pragma(x)
#else
# define PRAGMA(x) _Pragma(#x)
#endif
#cmakedefine HAVE_PACKING_PRAGMA_PUSH
#ifdef HAVE_PACKING_PRAGMA_PUSH
# define PACK_BEGIN PRAGMA(pack(push,1))
# define PACK_END PRAGMA(pack(pop))
#else
# define PACK_BEGIN
# define PACK_END
#endif
#cmakedefine HAVE_PACKING_GNUC_ATTRIBUTE
#ifdef HAVE_PACKING_GNUC_ATTRIBUTE
#define PACK_ATTRIBUTE __attribute__((__packed__))
#else
#define PACK_ATTRIBUTE
#endif
#cmakedefine WITH_LIBPNG_SOURCE
#cmakedefine PNG_FOUND
#if defined(WITH_LIBPNG_SOURCE) || defined(PNG_FOUND)
# define HAVE_LIBPNG
#endif
#cmakedefine HAVE_SYS_TYPES_H
#cmakedefine HAVE_OFF_T
#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_UNISTD_H
#ifndef HAVE_UNISTD_H
# define YY_NO_UNISTD_H
#endif
#cmakedefine HAVE_MMAP
#cmakedefine HAVE_FSTAT
#cmakedefine HAVE_SCANDIR
#cmakedefine HAVE_FILENO
#ifdef _WIN32
# 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