diff options
author | Pierre Joye <pajoye@php.net> | 2008-08-22 11:40:45 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2008-08-22 11:40:45 +0000 |
commit | 5e8fb0dab10d65cbbd13479934882ea15c5a4116 (patch) | |
tree | 11c4a142a52d67a689942b297b636163ac645b5a | |
parent | dd3bb67bdc572acb6c5c2b05092da192bb84681b (diff) | |
download | php-git-5e8fb0dab10d65cbbd13479934882ea15c5a4116.tar.gz |
- drop sys/ctype.h and use BEGIN/END_DECL_C instead
-rw-r--r-- | win32/glob.h | 9 |
1 files 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 <sys/cdefs.h> +#ifndef PHP_WIN32 +# include <sys/cdefs.h> +#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_ */ |