|
Packit Service |
f02b19 |
/*
|
|
Packit Service |
f02b19 |
* gnome-keyring
|
|
Packit Service |
f02b19 |
*
|
|
Packit Service |
f02b19 |
* Copyright (C) 2013 Stef Walter
|
|
Packit Service |
f02b19 |
*
|
|
Packit Service |
f02b19 |
* This program is free software; you can redistribute it and/or modify
|
|
Packit Service |
f02b19 |
* it under the terms of the GNU Lesser General Public License as
|
|
Packit Service |
f02b19 |
* published by the Free Software Foundation; either version 2.1 of
|
|
Packit Service |
f02b19 |
* the License, or (at your option) any later version.
|
|
Packit Service |
f02b19 |
*
|
|
Packit Service |
f02b19 |
* This program is distributed in the hope that it will be useful, but
|
|
Packit Service |
f02b19 |
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
f02b19 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
f02b19 |
* Lesser General Public License for more details.
|
|
Packit Service |
f02b19 |
*
|
|
Packit Service |
f02b19 |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
f02b19 |
* License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
Packit Service |
f02b19 |
*
|
|
Packit Service |
f02b19 |
* Author: Stef Walter <stefw@gnome.org>
|
|
Packit Service |
f02b19 |
*/
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
#ifndef __GCK_VERSION_H__
|
|
Packit Service |
f02b19 |
#define __GCK_VERSION_H__
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
#if !defined (__GCK_INSIDE_HEADER__) && !defined (GCK_COMPILATION)
|
|
Packit Service |
f02b19 |
#error "Only <gck.h> can be included directly."
|
|
Packit Service |
f02b19 |
#endif
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
/* compile time version
|
|
Packit Service |
f02b19 |
*/
|
|
Packit Service |
f02b19 |
#define GCK_MAJOR_VERSION (@GCR_MAJOR@)
|
|
Packit Service |
f02b19 |
#define GCK_MINOR_VERSION (@GCR_MINOR@)
|
|
Packit Service |
f02b19 |
#define GCK_MICRO_VERSION (@GCR_MICRO@)
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
/* check whether a Gcr version equal to or greater than
|
|
Packit Service |
f02b19 |
* major.minor.micro.
|
|
Packit Service |
f02b19 |
*/
|
|
Packit Service |
f02b19 |
#define GCK_CHECK_VERSION(major,minor,micro) \
|
|
Packit Service |
f02b19 |
(GCK_MAJOR_VERSION > (major) || \
|
|
Packit Service |
f02b19 |
(GCK_MAJOR_VERSION == (major) && GCK_MINOR_VERSION > (minor)) || \
|
|
Packit Service |
f02b19 |
(GCK_MAJOR_VERSION == (major) && GCK_MINOR_VERSION == (minor) && \
|
|
Packit Service |
f02b19 |
GCK_MICRO_VERSION >= (micro)))
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
#endif /* __GCK_VERSION_H__ */
|