From: Adam Dickmeiss Date: Fri, 4 Oct 2002 19:05:36 +0000 (+0000) Subject: WIN32 portability fix X-Git-Tag: YAZ.1.9.1~3 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=b732890efcff9d226dc30b5338fdfa8d8fa2a83c;p=yaz-moved-to-github.git WIN32 portability fix --- diff --git a/client/client.c b/client/client.c index 0e3687f..a2899cf 100644 --- 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 @@ -10,6 +10,12 @@ #include #include +#ifdef WIN32 +#include +#define S_ISREG(x) (x & _S_IFREG) +#define S_ISDIR(x) (x & _S_IFDIR) +#endif + #include #include