summaryrefslogtreecommitdiff
path: root/ext/ereg
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>1999-10-29 17:33:19 +0000
committerRasmus Lerdorf <rasmus@php.net>1999-10-29 17:33:19 +0000
commitf160ee878256c37d21bf6de225da5978e6fcadb9 (patch)
tree658578b7ae32b1ef52ca12f15bd46bc88e7b58ca /ext/ereg
parenta3a7413be83521d02e397e48efc8ecbb34045c12 (diff)
downloadphp-git-f160ee878256c37d21bf6de225da5978e6fcadb9.tar.gz
Kill the regex header file warnings
Diffstat (limited to 'ext/ereg')
-rw-r--r--ext/ereg/php_regex.h1
-rw-r--r--ext/ereg/regex/regex.h8
2 files changed, 5 insertions, 4 deletions
diff --git a/ext/ereg/php_regex.h b/ext/ereg/php_regex.h
index 9ed80d84b8..ff7b5cfcb1 100644
--- a/ext/ereg/php_regex.h
+++ b/ext/ereg/php_regex.h
@@ -4,6 +4,7 @@
#if REGEX
#include "regex/regex.h"
#define _REGEX_H 1 /* this should stop Apache from loading the system version of regex.h */
+#define _REGEX_H_ 1
#define _RX_H 1 /* Try defining these for Linux to */
#define __REGEXP_LIBRARY_H__ 1 /* avoid Apache including regex.h */
#define _H_REGEX 1 /* This one is for AIX */
diff --git a/ext/ereg/regex/regex.h b/ext/ereg/regex/regex.h
index 28638e44c9..985ad02959 100644
--- a/ext/ereg/regex/regex.h
+++ b/ext/ereg/regex/regex.h
@@ -1,7 +1,7 @@
-#ifndef _REGEX_H_
-#define _REGEX_H_
-#ifndef _REGEX_H
-#define _REGEX_H /* never again */
+#ifndef _HSREGEX_H_
+#define _HSREGEX_H_
+#ifndef _HSREGEX_H
+#define _HSREGEX_H /* never again */
/* ========= begin header generated by ././mkh ========= */
#ifdef __cplusplus
extern "C" {