X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fyaz-version.h.in;h=7e7506f3834f79af8e77f68b3ea2ccaf270d8fac;hp=f90ca9ab0a95a506162ff51e658bca8b86801b57;hb=c78f61142413410e88ed2a83627516bb4fa24b33;hpb=3185557b9c4f422e12f79a930a89a35b4cac6cfe diff --git a/include/yaz/yaz-version.h.in b/include/yaz/yaz-version.h.in index f90ca9a..7e7506f 100644 --- a/include/yaz/yaz-version.h.in +++ b/include/yaz/yaz-version.h.in @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2008 Index Data. + * Copyright (C) 1995-2009 Index Data. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -32,24 +32,18 @@ #include +/** \brief YAZ version as string */ #define YAZ_VERSION "@VERSION@" -#define YAZ_VERSIONL 0x@YAZ_VERSION_HEX@ +/** \brief YAZ version as integer (for comparison purposes) */ +#define YAZ_VERSIONL 0x@VERSION_HEX@ + +/** \brief YAZ file version for YAZ DLL (resource) */ #define YAZ_FILEVERSION @WIN_FILEVERSION@ +/** \brief SHA1 ID for YAZ (Git) */ #define YAZ_VERSION_SHA1 "@VERSION_SHA1@" -#define YAZ_DATE 1 - - -#ifdef WIN32 -#ifdef NDEBUG -#define YAZ_OS "WIN32 Release" -#else -#define YAZ_OS "WIN32 Debug" -#endif -#endif - YAZ_BEGIN_CDECL /** \brief returns YAZ version