projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14e5ae7
)
WIN32 portability fix
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 4 Oct 2002 19:05:36 +0000
(19:05 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 4 Oct 2002 19:05:36 +0000
(19:05 +0000)
client/client.c
patch
|
blob
|
history
diff --git
a/client/client.c
b/client/client.c
index
0e3687f
..
a2899cf
100644
(file)
--- a/
client/client.c
+++ b/
client/client.c
@@
-2,7
+2,7
@@
* Copyright (c) 1995-2002, Index Data
* See the file LICENSE for details.
*
- * $Id: client.c,v 1.171 2002-09-24 08:05:41 adam Exp $
+ * $Id: client.c,v 1.172 2002-10-04 19:05:36 adam Exp $
*/
#include <stdio.h>
@@
-10,6
+10,12
@@
#include <time.h>
#include <ctype.h>
+#ifdef WIN32
+#include <io.h>
+#define S_ISREG(x) (x & _S_IFREG)
+#define S_ISDIR(x) (x & _S_IFDIR)
+#endif
+
#include <yaz/yaz-util.h>
#include <yaz/comstack.h>