home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / include / gdict-1.0 / gdict / gdict-version.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-04-09  |  1.3 KB  |  35 lines

  1. /* gdict-version.h - convenience version header for libgdict
  2.  *
  3.  * Copyright (C) 2005  Emmanuele Bassi <ebassi@gmail.com>
  4.  *
  5.  * This library is free software; you can redistribute it and/or
  6.  * modify it under the terms of the GNU Library General Public
  7.  * License as published by the Free Software Foundation; either
  8.  * version 2 of the License, or (at your option) any later version.
  9.  *
  10.  * This library is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  13.  * Library General Public License for more details.
  14.  *
  15.  * You should have received a copy of the GNU Library General Public
  16.  * License along with this library; if not, write to the
  17.  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  18.  */
  19.  
  20. #ifndef __GDICT_VERSION_H__
  21. #define __GDICT_VERSION_H__
  22.  
  23. #define GDICT_MAJOR_VERSION    0
  24. #define GDICT_MINOR_VERSION    10
  25. #define GDICT_MICRO_VERSION    8
  26.  
  27. #define GDICT_CHECK_VERSION(major,minor,micro)    (((major) >= GDICT_MAJOR_VERSION) || \
  28.                          (((major) == GDICT_MAJOR_VERSION) && \
  29.                           ((minor) >= GDICT_MINOR_VERSION)) || \
  30.                          (((major) == GDICT_MAJOR_VERSION) && \
  31.                           ((minor) == GDICT_MINOR_VERSION) && \
  32.                           ((micro) >= GDICT_MICRO_VERSION)))
  33.  
  34. #endif /* __GDICT_VERSION_H__ */
  35.