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@civicknowledge.com>
6
7 This library is free software; you can redistribute it and/or modify
8 it under the terms of either:
9
10 The LGPL as published by the Free Software Foundation, version
11 2.1, available at: https://www.gnu.org/licenses/lgpl-2.1.html
12
13 Or:
14
15 The Mozilla Public License Version 2.0. You may obtain a copy of
16 the License at https://www.mozilla.org/MPL/
17 ======================================================================*/
18
19#ifndef ICAL_VERSION_H
20#define ICAL_VERSION_H
21
22#define ICAL_PACKAGE "libical"
23#define ICAL_VERSION "3.0"
24
25#define ICAL_MAJOR_VERSION (3)
26#define ICAL_MINOR_VERSION (0)
27#define ICAL_PATCH_VERSION (15)
28#define ICAL_MICRO_VERSION ICAL_PATCH_VERSION
29
39#define ICAL_CHECK_VERSION(major,minor,micro) \
40 (ICAL_MAJOR_VERSION > (major) || \
41 (ICAL_MAJOR_VERSION == (major) && ICAL_MINOR_VERSION > (minor)) || \
42 (ICAL_MAJOR_VERSION == (major) && ICAL_MINOR_VERSION == (minor) && \
43 ICAL_MICRO_VERSION >= (micro)))
44
45#endif