comparison libpurple/version.h.in @ 25495:b93f3d152de6

merge of '3cf23371e3e019d9e8de26e38bab170c5ed4aca1' and 'cee63f93d8c1fdcf74c596d5958b744aa0638042'
author Etan Reisner <pidgin@unreliablesource.net>
date Thu, 19 Feb 2009 03:41:51 +0000
parents bb43dea90623
children 02a2e8183b1d
comparison
equal deleted inserted replaced
25494:4ea0f3edd973 25495:b93f3d152de6
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA 22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
23 */ 23 */
24 #ifndef _PURPLE_VERSION_H_ 24 #ifndef _PURPLE_VERSION_H_
25 #define _PURPLE_VERSION_H_ 25 #define _PURPLE_VERSION_H_
26 26
27 /** The major version of the running libpurple. */
27 #define PURPLE_MAJOR_VERSION (@PURPLE_MAJOR_VERSION@) 28 #define PURPLE_MAJOR_VERSION (@PURPLE_MAJOR_VERSION@)
29 /** The minor version of the running libpurple. */
28 #define PURPLE_MINOR_VERSION (@PURPLE_MINOR_VERSION@) 30 #define PURPLE_MINOR_VERSION (@PURPLE_MINOR_VERSION@)
31 /** The micro version of the running libpurple. */
29 #define PURPLE_MICRO_VERSION (@PURPLE_MICRO_VERSION@) 32 #define PURPLE_MICRO_VERSION (@PURPLE_MICRO_VERSION@)
30 33
31 #define PURPLE_VERSION_CHECK(x,y,z) ((x) == PURPLE_MAJOR_VERSION && \ 34 #define PURPLE_VERSION_CHECK(x,y,z) ((x) == PURPLE_MAJOR_VERSION && \
32 ((y) < PURPLE_MINOR_VERSION || \ 35 ((y) < PURPLE_MINOR_VERSION || \
33 ((y) == PURPLE_MINOR_VERSION && (z) <= PURPLE_MICRO_VERSION))) 36 ((y) == PURPLE_MINOR_VERSION && (z) <= PURPLE_MICRO_VERSION)))