Go to the documentation of this file.
20 #ifndef XAPIAN_INCLUDED_VERSION_H
21 #define XAPIAN_INCLUDED_VERSION_H
24 #if __GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ == 0)
25 #error Xapian no longer supports GCC < 3.1
28 #error You are compiling with _GLIBCXX_DEBUG defined, but the library
29 #error was not compiled with this flag. The settings must match or your
30 #error program will not work correctly.
36 #define XAPIAN_ENABLE_VISIBILITY
39 #define XAPIAN_VERSION "1.4.30"
44 #define XAPIAN_MAJOR_VERSION 1
49 #define XAPIAN_MINOR_VERSION 4
54 #define XAPIAN_REVISION 30
57 #define XAPIAN_DOCID_BASE_TYPE int
60 #define XAPIAN_TERMCOUNT_BASE_TYPE int
63 #define XAPIAN_TERMPOS_BASE_TYPE int
66 #define XAPIAN_TOTALLENGTH_TYPE unsigned long
69 #define XAPIAN_REVISION_TYPE unsigned long
72 #define XAPIAN_HAS_CHERT_BACKEND 1
75 #define XAPIAN_HAS_GLASS_BACKEND 1
78 #define XAPIAN_HAS_INMEMORY_BACKEND 1
81 #define XAPIAN_HAS_REMOTE_BACKEND 1
92 #define XAPIAN_AT_LEAST(A,B,C) \
93 (XAPIAN_MAJOR_VERSION > (A) || \
94 (XAPIAN_MAJOR_VERSION == (A) && \
95 (XAPIAN_MINOR_VERSION > (B) || \
96 (XAPIAN_MINOR_VERSION == (B) && XAPIAN_REVISION >= (C)))))
107 #ifndef XAPIAN_MOVE_SEMANTICS
108 # if __cplusplus >= 201103L || \
109 (defined _MSC_VER && _MSC_VER >= 1900) || \
110 defined XAPIAN_LIB_BUILD
111 # define XAPIAN_MOVE_SEMANTICS