fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / clucene / configs / clucene-config-MINGW-atomic.h
blob4b77b69ff8c5d19f18a70599bc009fd96d5b8d98
1 #ifndef _SRC_CLUCENE_CLUCENE_CONFIG_H
2 #define _SRC_CLUCENE_CLUCENE_CONFIG_H 1
4 /* src/shared/CLucene/clucene-config.h.
5 * Normally generated automatically at end of cmake,
6 * but here in LibreOffice this actually is a copy of
7 * clucene/configs/clucene-config-MINGW-atomic.h.
8 */
10 /* CMake will look for these headers: */
11 #define _CL_HAVE_STRING_H 1
12 #define _CL_HAVE_MEMORY_H 1
13 /* #undef _CL_HAVE_UNISTD_H */
14 #define _CL_HAVE_IO_H 1
15 #define _CL_HAVE_DIRECT_H 1
16 /* #undef _CL_HAVE_DIRENT_H */
17 /* #undef _CL_HAVE_SYS_DIR_H */
18 /* #undef _CL_HAVE_SYS_NDIR_H */
19 #define _CL_HAVE_ERRNO_H 1
20 #define _CL_HAVE_WCHAR_H 1
21 #define _CL_HAVE_WCTYPE_H
22 #define _CL_HAVE_CTYPE_H 1
23 #define _CL_HAVE_WINDOWS_H 1
24 /* #undef _CL_HAVE_WINDEF_H */
25 #define _CL_HAVE_SYS_TYPES_H 1
26 /* #undef _CL_HAVE_DLFCN_H */
27 /* #undef _CL_HAVE_EXT_HASH_MAP */
28 /* #undef _CL_HAVE_EXT_HASH_SET */
29 /* #undef _CL_HAVE_TR1_UNORDERED_MAP */
30 /* #undef _CL_HAVE_TR1_UNORDERED_SET */
31 /* #undef _CL_HAVE_HASH_MAP */
32 /* #undef _CL_HAVE_HASH_SET */
33 /* #undef _CL_HAVE_NDIR_H */
34 #define _CL_HAVE_SYS_STAT_H 1
35 #define _CL_HAVE_SYS_TIMEB_H 1
36 /* #undef _CL_HAVE_SYS_TIME_H */
37 #define _CL_HAVE_TCHAR_H 1
38 /* #undef _CL_HAVE_SYS_MMAN_H */
39 #define _CL_HAVE_WINERROR_H 1
40 /* #undef _CL_HAVE_STDINT_H */
42 // our needed types
43 typedef signed char int8_t;
44 typedef unsigned char uint8_t;
45 typedef signed short int16_t;
46 typedef unsigned short uint16_t;
47 typedef signed int int32_t;
48 typedef unsigned int uint32_t;
49 typedef signed long long int64_t;
50 typedef unsigned long long uint64_t;
52 /* undef float_t*/
53 typedef unsigned long _cl_dword_t;
54 /* undef size_t size_t */
56 /* tchar & _T definitions... */
57 /* undef TCHAR TCHAR */
58 /* #undef _T */
60 /* CMake will determine these specifics. Things like bugs, etc */
62 /* if we can't support the map/set hashing */
63 /* #undef LUCENE_DISABLE_HASHING */
65 /* Define if you have POSIX threads libraries and header files. */
66 /* #undef _CL_HAVE_PTHREAD */
68 /* Define if you have Win32 threads libraries and header files. */
69 #define _CL_HAVE_WIN32_THREADS 1
71 /* Define if we have gcc atomic functions */
72 #define _CL_HAVE_GCC_ATOMIC_FUNCTIONS 1
74 /* Define what eval method is required for float_t to be defined (for GCC). */
75 /* #undef _FLT_EVAL_METHOD */
77 /* If we use hashmaps, which namespace do we use: */
78 #define CL_NS_HASHING(func)
79 /* If we use hashmaps, which classes do we use: */
80 #define _CL_HASH_MAP
81 #define _CL_HASH_SET
83 /* define if the compiler implements namespaces */
84 #define _CL_HAVE_NAMESPACES
86 /* Defined if the snprintf overflow test fails */
87 /* #undef _CL_HAVE_SNPRINTF_BUG */
89 /* Defined if the swprintf test fails */
90 /* #undef _CL_HAVE_SNWPRINTF_BUG */
92 /* How to define a static const in a class */
93 #define LUCENE_STATIC_CONSTANT(type, assignment) static const type assignment
95 /* Define to the necessary symbol if this constant uses a non-standard name on
96 your system. */
97 //todo: not checked
98 /* #undef _CL_PTHREAD_CREATE_JOINABLE */
100 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
101 //todo: not being checked for...
102 /* #undef _CL_STAT_MACROS_BROKEN */
104 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
105 //not actually used for anything...
106 /* #undef _CL_TIME_WITH_SYS_TIME */
108 /* Define that we will be using -fvisibility=hidden, and
109 * make public classes visible using __attribute__ ((visibility("default")))
111 /* #undef _CL_HAVE_GCCVISIBILITYPATCH */
114 /* Versions, etc */
116 /* Name of package */
117 #define _CL_PACKAGE "clucene-core"
119 /* Version number of package */
120 #define _CL_VERSION "2.3.3.4"
122 /* So-Version number of package */
123 #define _CL_SOVERSION "1"
125 /* A comparable version number */
126 #define _CL_INT_VERSION 2030304
128 /* Configured options (from command line) */
130 /* Forces into Ascii mode */
131 /* #undef _ASCII */
133 /* Conditional Debugging */
134 /* #undef _CL__CND_DEBUG */
136 /* debuging option */
137 /* #undef _DEBUG */
139 /* Disable multithreading */
140 /* #undef _CL_DISABLE_MULTITHREADING */
143 #ifdef __BORLANDC__ //borland compiler
144 //todo: bcc incorrectly detects this... fix this in cmake
145 #undef LUCENE_STATIC_CONSTANT
146 #define LUCENE_STATIC_CONSTANT(type, assignment) enum { assignment }
147 #endif
150 #endif