From b732890efcff9d226dc30b5338fdfa8d8fa2a83c Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 4 Oct 2002 19:05:36 +0000 Subject: [PATCH] WIN32 portability fix --- client/client.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 1.7.10.4