From e5ba12655112ab17ee08e0d048cc5afae8e8c670 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 17 Apr 2000 14:22:00 +0000 Subject: [PATCH] WIN32 update. --- include/mfile.h | 6 +++++- win/makefile | 10 ++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/include/mfile.h b/include/mfile.h index 26c9300..ee8231f 100644 --- a/include/mfile.h +++ b/include/mfile.h @@ -3,7 +3,7 @@ * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * - * $Id: mfile.h,v 1.14 2000-03-20 19:08:36 adam Exp $ + * $Id: mfile.h,v 1.15 2000-04-17 14:22:00 adam Exp $ */ #ifndef MFILE_H @@ -26,6 +26,10 @@ YAZ_BEGIN_CDECL #define mf_blocksize(mf) ((mf)->blocksize) +#ifdef WIN32 +typedef long off_t; +#endif + typedef struct mf_dir { char name[FILENAME_MAX+1]; diff --git a/win/makefile b/win/makefile index 959d5b3..c2b90fe 100644 --- a/win/makefile +++ b/win/makefile @@ -1,5 +1,5 @@ # Z'mbol makefile for MS NMAKE -# $Id: makefile,v 1.2 2000-02-08 12:34:17 adam Exp $ +# $Id: makefile,v 1.3 2000-04-17 14:22:00 adam Exp $ ########################################################### ############### Parameters @@ -22,8 +22,7 @@ ROOTDIR=.. # The home of Z'mbol YAZDIR=$(ROOTDIR)\..\YAZ YAZINCL=$(YAZDIR)\include YAZLIB=$(YAZDIR)\lib\yaz.lib -YAZSERVLIB=$(YAZDIR)\lib\server.lib -YAZLIBS=$(YAZLIB) $(YAZSERVLIB) +YAZLIBS=$(YAZLIB) YAZBINDIR=$(YAZDIR)\bin YAZDLL=$(YAZBINDIR)\yaz.dll @@ -391,7 +390,10 @@ $(ALL_OBJS): makefile ########################################################### # # $Log: makefile,v $ -# Revision 1.2 2000-02-08 12:34:17 adam +# Revision 1.3 2000-04-17 14:22:00 adam +# WIN32 update. +# +# Revision 1.2 2000/02/08 12:34:17 adam # Fix: referred to zmbol.mak. # # Revision 1.1 1999/12/08 22:11:56 adam -- 1.7.10.4