Script configure uses yaz pthreads options. Added locking for
[idzebra-moved-to-github.git] / include / mfile.h
index dc62499..ee8231f 100644 (file)
@@ -3,7 +3,7 @@
  * All rights reserved.
  * Sebastian Hammer, Adam Dickmeiss
  *
- * $Id: mfile.h,v 1.13 2000-03-15 15:00:30 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];
@@ -55,8 +59,8 @@ typedef struct meta_file
     int no_files;
     int cur_file;
     int open;                          /* is this file open? */
-    int blocksize;
-    int min_bytes_creat;  /* minimum bytes required to enter directory */
+    off_t blocksize;
+    off_t min_bytes_creat;  /* minimum bytes required to enter directory */
     MFile_area ma;
     int wr;
     Zebra_mutex mutex;