From ed30638ace1966555acc08568500709df99beafc Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 21 Jul 1996 01:55:51 +0000 Subject: Sat Jul 20 21:55:31 1996 Roland McGrath Win32 hacks from . * posix/glob.c [WIN32]: Don't include ; don't use d_ino; use void * for my_realloc; include for alloca. (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable. * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__]. * posix/glob.h: Likewise. --- posix/glob.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'posix/glob.h') diff --git a/posix/glob.h b/posix/glob.h index ba24d890c4..571bd5e405 100644 --- a/posix/glob.h +++ b/posix/glob.h @@ -25,7 +25,8 @@ extern "C" #endif #undef __ptr_t -#if defined (__cplusplus) || (defined (__STDC__) && __STDC__) +#if (defined (__cplusplus) || (defined (__STDC__) && __STDC__) \ + || defined (WIN32)) #undef __P #define __P(protos) protos #define __ptr_t void * -- cgit 1.4.1