From 5e8fb0dab10d65cbbd13479934882ea15c5a4116 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Fri, 22 Aug 2008 11:40:45 +0000 Subject: [PATCH] - drop sys/ctype.h and use BEGIN/END_DECL_C instead --- win32/glob.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/win32/glob.h b/win32/glob.h index 4e842a5cee..dabf095763 100644 --- a/win32/glob.h +++ b/win32/glob.h @@ -43,7 +43,9 @@ #ifndef _GLOB_H_ #define _GLOB_H_ -#include +#ifndef PHP_WIN32 +# include +#endif struct stat; typedef struct { @@ -93,9 +95,8 @@ typedef struct { #define GLOB_NOSYS (-4) /* Function not supported. */ #define GLOB_ABEND GLOB_ABORTED -__BEGIN_DECLS +BEGIN_EXTERN_C() int glob(const char *, int, int (*)(const char *, int), glob_t *); void globfree(glob_t *); -__END_DECLS - +END_EXTERN_C() #endif /* !_GLOB_H_ */ -- 2.50.1