cvs: /php3/functions pcre.c php3_pcre.h
| From: | Martin Kraemer | Date: | Tue, 31 Aug 1999 09:54:38 +0000 |
| Subject: | cvs: /php3/functions pcre.c php3_pcre.h | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-10372@lists.php.net to get a copy of this message | ||
martin Tue Aug 31 05:54:38 1999 EDT
Modified files:
/php3/functions pcre.c php3_pcre.h
Log:
Avoid duplicate symbols on some platforms
Index: php3/functions/pcre.c
diff -u php3/functions/pcre.c:1.18 php3/functions/pcre.c:1.19
--- php3/functions/pcre.c:1.18 Thu Aug 26 10:11:40 1999
+++ php3/functions/pcre.c Tue Aug 31 05:54:37 1999
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pcre.c,v 1.18 1999/08/26 14:11:40 rasmus Exp $ */
+/* $Id: pcre.c,v 1.19 1999/08/31 09:54:37 martin Exp $ */
#include "php.h"
@@ -37,6 +37,8 @@
#define PREG_PATTERN_ORDER 0
#define PREG_SET_ORDER 1
+
+HashTable pcre_cache;
/* {{{ module definition structures */
Index: php3/functions/php3_pcre.h
diff -u php3/functions/php3_pcre.h:1.5 php3/functions/php3_pcre.h:1.6
--- php3/functions/php3_pcre.h:1.5 Tue Jul 20 17:08:05 1999
+++ php3/functions/php3_pcre.h Tue Aug 31 05:54:37 1999
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php3_pcre.h,v 1.5 1999/07/20 21:08:05 andrey Exp $ */
+/* $Id: php3_pcre.h,v 1.6 1999/08/31 09:54:37 martin Exp $ */
#ifndef _PHP_PCRE_H
#define _PHP_PCRE_H
@@ -65,7 +65,7 @@
#endif
} pcre_cache_entry;
-HashTable pcre_cache;
+extern HashTable pcre_cache;
#else