Libical API Documentation 4.0 UNRELEASED Go to the stable 3.0 documentation
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 SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
7 ======================================================================*/
8
9#ifndef ICAL_VERSION_H
10#define ICAL_VERSION_H
11
12#define ICAL_PACKAGE "libical"
13#define ICAL_VERSION "4.0"
14
15#define ICAL_MAJOR_VERSION (3)
16#define ICAL_MINOR_VERSION (99)
17#define ICAL_PATCH_VERSION (99)
18#define ICAL_MICRO_VERSION ICAL_PATCH_VERSION
19
29#define ICAL_CHECK_VERSION(major,minor,micro) \
30 (ICAL_MAJOR_VERSION > (major) || \
31 (ICAL_MAJOR_VERSION == (major) && ICAL_MINOR_VERSION > (minor)) || \
32 (ICAL_MAJOR_VERSION == (major) && ICAL_MINOR_VERSION == (minor) && \
33 ICAL_MICRO_VERSION >= (micro)))
34
35#endif