X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fzebrautl.h;h=ecc5d42a6f469f8b0bafb5e5c0e4d17a82d5235b;hb=0cac58c528d39e9838a4ee6e3f76bc5ca6bd30bf;hp=9b1daf9399097869ce95a8664b49bd4c58d0e36e;hpb=eab4cdc5571ca8811ebaae09358b223b7debc02f;p=idzebra-moved-to-github.git diff --git a/include/zebrautl.h b/include/zebrautl.h index 9b1daf9..ecc5d42 100644 --- a/include/zebrautl.h +++ b/include/zebrautl.h @@ -1,6 +1,6 @@ -/* $Id: zebrautl.h,v 1.11 2004-12-10 11:56:21 heikki Exp $ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 - Index Data Aps +/* $Id: zebrautl.h,v 1.14 2005-03-08 14:02:08 adam Exp $ + Copyright (C) 1995-2005 + Index Data ApS This file is part of the Zebra server. @@ -23,29 +23,21 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #ifndef ZEBRA_UTIL_H #define ZEBRA_UTIL_H -/* Old yaz-util includes */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include /* check that we don't have all too old yaz */ #ifndef YLOG_ERRNO -#error Need a modern yaz with ylog.h +#error Need a modern yaz with YLOG_ defines #endif YAZ_BEGIN_CDECL zint atoi_zn (const char *buf, zint len); YAZ_END_CDECL +#define CAST_ZINT_TO_INT(x) (int)(x) +#define CAST_ZINT_TO_DOUBLE(x) (double)(x) + #endif