2 * Copyright © 2009 Christian Persch
4 * This library is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU Lesser General Public License as published by the
6 * Free Software Foundation; either version 2.1 of the License, or (at your
7 * option) any later version.
9 * This library is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 59 Temple Place, Suite 330, Boston, MA 02110-1301 USA
22 #define EV_MAJOR_VERSION (@EV_MAJOR_VERSION@)
23 #define EV_MINOR_VERSION (@EV_MINOR_VERSION@)
24 #define EV_MICRO_VERSION (@EV_MICRO_VERSION@)
26 #define EV_CHECK_VERSION(major,minor,micro) \
27 (EV_MAJOR_VERSION > (major) || \
28 (EV_MAJOR_VERSION == (major) && EV_MINOR_VERSION > (minor)) || \
29 (EV_MAJOR_VERSION == (major) && EV_MINOR_VERSION == (minor) && EV_MICRO_VERSION >= (micro)))
31 #endif /* #ifndef EV_VERSION_H */