Libical API Documentation 4.0
Loading...
Searching...
No Matches
icalversion.h
1/*======================================================================
2 FILE: icalversion.h
3 CREATOR: eric 20 March 1999
4
5 SPDX-FileCopyrightText: 2000, Eric Busboom <eric@civicknowledge.com>
6
7 SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
8
9 ======================================================================*/
10
11#ifndef ICAL_VERSION_H
12#define ICAL_VERSION_H
13
14#define ICAL_PACKAGE "libical"
15#define ICAL_VERSION "4.0"
16
17#define ICAL_MAJOR_VERSION (3)
18#define ICAL_MINOR_VERSION (99)
19#define ICAL_PATCH_VERSION (99)
20#define ICAL_MICRO_VERSION ICAL_PATCH_VERSION
21
31#define ICAL_CHECK_VERSION(major,minor,micro) \
32 (ICAL_MAJOR_VERSION > (major) || \
33 (ICAL_MAJOR_VERSION == (major) && ICAL_MINOR_VERSION > (minor)) || \
34 (ICAL_MAJOR_VERSION == (major) && ICAL_MINOR_VERSION == (minor) && \
35 ICAL_MICRO_VERSION >= (micro)))
36
37#endif