Go to the documentation of this file.
20 #ifndef XAPIAN_INCLUDED_VERSION_H
21 #define XAPIAN_INCLUDED_VERSION_H
23 #if !defined XAPIAN_IN_XAPIAN_H && !defined XAPIAN_LIB_BUILD
24 # error "Never use <xapian/version.h> directly; include <xapian.h> instead."
28 #if !defined __clang__ && !defined __INTEL_COMPILER && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 8))
29 #error Xapian no longer supports GCC < 4.8
32 #error You are compiling with _GLIBCXX_DEBUG defined, but the library
33 #error was not compiled with this flag. The settings must match or your
34 #error program will not work correctly.
40 #define XAPIAN_ENABLE_VISIBILITY
43 #define XAPIAN_VERSION "2.0.0"
48 #define XAPIAN_MAJOR_VERSION 2
53 #define XAPIAN_MINOR_VERSION 0
58 #define XAPIAN_REVISION 0
61 #define XAPIAN_DOCID_BASE_TYPE int
64 #define XAPIAN_TERMCOUNT_BASE_TYPE int
67 #define XAPIAN_TERMPOS_BASE_TYPE int
70 #define XAPIAN_TOTALLENGTH_TYPE unsigned long
73 #define XAPIAN_REVISION_TYPE unsigned long
76 #define XAPIAN_HAS_GLASS_BACKEND 1
79 #define XAPIAN_HAS_HONEY_BACKEND 1
82 #define XAPIAN_HAS_INMEMORY_BACKEND 1
85 #define XAPIAN_HAS_REMOTE_BACKEND 1
112 #define XAPIAN_AT_LEAST(A,B,C) \
113 (XAPIAN_MAJOR_VERSION > (A) || \
114 (XAPIAN_MAJOR_VERSION == (A) && \
115 (XAPIAN_MINOR_VERSION > (B) || \
116 (XAPIAN_MINOR_VERSION == (B) && XAPIAN_REVISION >= (C)))))