Libical API Documentation  3.0
icalversion.h
1 /*======================================================================
2  FILE: icalversion.h
3  CREATOR: eric 20 March 1999
4 
5  (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
6  http://www.softwarestudio.org
7 
8  This library is free software; you can redistribute it and/or modify
9  it under the terms of either:
10 
11  The LGPL as published by the Free Software Foundation, version
12  2.1, available at: http://www.gnu.org/licenses/lgpl-2.1.html
13 
14  Or:
15 
16  The Mozilla Public License Version 2.0. You may obtain a copy of
17  the License at http://www.mozilla.org/MPL/
18  ======================================================================*/
19 
20 #ifndef ICAL_VERSION_H
21 #define ICAL_VERSION_H
22 
23 #define ICAL_PACKAGE "libical"
24 #define ICAL_VERSION "3.0"
25 
26 #define ICAL_MAJOR_VERSION (3)
27 #define ICAL_MINOR_VERSION (0)
28 #define ICAL_PATCH_VERSION (3)
29 #define ICAL_MICRO_VERSION ICAL_PATCH_VERSION
30 
40 #define ICAL_CHECK_VERSION(major,minor,micro) \
41  (ICAL_MAJOR_VERSION > (major) || \
42  (ICAL_MAJOR_VERSION == (major) && ICAL_MINOR_VERSION > (minor)) || \
43  (ICAL_MAJOR_VERSION == (major) && ICAL_MINOR_VERSION == (minor) && \
44  ICAL_MICRO_VERSION >= (micro)))
45 
46 #endif