pajoye Fri Aug 22 11:40:45 2008 UTC
Modified files:
/php-src/win32 glob.h
Log:
- drop sys/ctype.h and use BEGIN/END_DECL_C instead
http://cvs.php.net/viewvc.cgi/php-src/win32/glob.h?r1=1.1&r2=1.2&diff_format=u
Index: php-src/win32/glob.h
diff -u php-src/win32/glob.h:1.1 php-src/win32/glob.h:1.2
--- php-src/win32/glob.h:1.1 Sun May 19 14:32:24 2002
+++ php-src/win32/glob.h Fri Aug 22 11:40:45 2008
@@ -1,4 +1,4 @@
-/* $Id: glob.h,v 1.1 2002/05/19 14:32:24 edink Exp $ */
+/* $Id: glob.h,v 1.2 2008/08/22 11:40:45 pajoye Exp $ */
/* OpenBSD: glob.h,v 1.7 2002/02/17 19:42:21 millert Exp */
/* NetBSD: glob.h,v 1.5 1994/10/26 00:55:56 cgd Exp */
@@ -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 @@
#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_ */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php