]> git.cworth.org Git - apitrace/blob - thirdparty/snappy/config.h
Universal config.h for snappy.
[apitrace] / thirdparty / snappy / config.h
1 /* config.h.  Manually derived from config.h.in, with the subset of defines
2  * that actually affect the library, given that most of them are meant for the
3  * tests, which we don't build. */
4
5 /* Define to 1 if the compiler supports __builtin_ctz and friends. */
6 #if defined(__GNUCC__)
7 #  define HAVE_BUILTIN_CTZ 1
8 #endif
9
10 /* Define to 1 if the compiler supports __builtin_expect. */
11 #if defined(__GNUCC__)
12 # define HAVE_BUILTIN_EXPECT 1
13 #endif
14
15 /* Define to 1 if you have the <byteswap.h> header file. */
16 #if defined(__linux__)
17 #  define HAVE_BYTESWAP_H 1
18 #endif
19
20 /* Define to 1 if you have the <dlfcn.h> header file. */
21 #undef HAVE_DLFCN_H
22
23 /* Use the gflags package for command-line parsing. */
24 #undef HAVE_GFLAGS
25
26 /* Defined when Google Test is available. */
27 #undef HAVE_GTEST
28
29 /* Define to 1 if you have the <inttypes.h> header file. */
30 #define HAVE_INTTYPES_H 1
31
32 /* Define to 1 if you have the `fastlz' library (-lfastlz). */
33 #undef HAVE_LIBFASTLZ
34
35 /* Define to 1 if you have the `lzf' library (-llzf). */
36 #undef HAVE_LIBLZF
37
38 /* Define to 1 if you have the `lzo2' library (-llzo2). */
39 #undef HAVE_LIBLZO2
40
41 /* Define to 1 if you have the `quicklz' library (-lquicklz). */
42 #undef HAVE_LIBQUICKLZ
43
44 /* Define to 1 if you have the `z' library (-lz). */
45 #undef HAVE_LIBZ
46
47 /* Define to 1 if you have the <memory.h> header file. */
48 #undef HAVE_MEMORY_H
49
50 /* Define to 1 if you have the <stddef.h> header file. */
51 #define HAVE_STDDEF_H 1
52
53 /* Define to 1 if you have the <stdint.h> header file. */
54 #define HAVE_STDINT_H 1
55
56 /* Define to 1 if you have the <stdlib.h> header file. */
57 #define HAVE_STDLIB_H 1
58
59 /* Define to 1 if you have the <strings.h> header file. */
60 #undef HAVE_STRINGS_H
61
62 /* Define to 1 if you have the <string.h> header file. */
63 #define HAVE_STRING_H 1
64
65 /* Define to 1 if you have the <sys/byteswap.h> header file. */
66 #undef HAVE_SYS_BYTESWAP_H
67
68 /* Define to 1 if you have the <sys/endian.h> header file. */
69 #undef HAVE_SYS_ENDIAN_H
70
71 /* Define to 1 if you have the <sys/mman.h> header file. */
72 #undef HAVE_SYS_MMAN_H
73
74 /* Define to 1 if you have the <sys/resource.h> header file. */
75 #undef HAVE_SYS_RESOURCE_H
76
77 /* Define to 1 if you have the <sys/stat.h> header file. */
78 #undef HAVE_SYS_STAT_H
79
80 /* Define to 1 if you have the <sys/types.h> header file. */
81 #define HAVE_SYS_TYPES_H 1
82
83 /* Define to 1 if you have the <unistd.h> header file. */
84 #if !defined(_WIN32)
85 #  define HAVE_UNISTD_H 1
86 #endif
87
88 /* Define to 1 if you have the <windows.h> header file. */
89 #if defined(_WIN32)
90 #  define HAVE_WINDOWS_H 1
91 #endif
92
93 /* Define to the sub-directory in which libtool stores uninstalled libraries.
94    */
95 #undef LT_OBJDIR
96
97 /* Name of package */
98 #undef PACKAGE
99
100 /* Define to the address where bug reports for this package should be sent. */
101 #undef PACKAGE_BUGREPORT
102
103 /* Define to the full name of this package. */
104 #undef PACKAGE_NAME
105
106 /* Define to the full name and version of this package. */
107 #undef PACKAGE_STRING
108
109 /* Define to the one symbol short name of this package. */
110 #undef PACKAGE_TARNAME
111
112 /* Define to the home page for this package. */
113 #undef PACKAGE_URL
114
115 /* Define to the version of this package. */
116 #undef PACKAGE_VERSION
117
118 /* Define to 1 if you have the ANSI C header files. */
119 #define STDC_HEADERS 1
120
121 /* Version number of package */
122 #undef VERSION
123
124 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
125    significant byte first (like Motorola and SPARC, unlike Intel). */
126 #if defined(__GLIBC__)
127 #  include <endian.h>
128 #  if __BYTE_ORDER == __BIG_ENDIAN
129 #    define WORDS_BIGENDIAN 1
130 #  endif
131 #elif defined(__APPLE__)
132 #  include <machine/endian.h>
133 #  if __DARWIN_BYTE_ORDER == __DARWIN_BIG_ENDIAN
134 #    define WORDS_BIGENDIAN 1
135 #  endif
136 #endif