2000-07-03 07:46:51 +08:00
|
|
|
#ifndef PHP_REGEX_H
|
|
|
|
#define PHP_REGEX_H
|
1999-05-11 08:01:47 +08:00
|
|
|
|
1999-12-01 07:19:33 +08:00
|
|
|
/*
|
|
|
|
* REGEX means:
|
|
|
|
* 0.. system regex
|
|
|
|
* 1.. bundled regex
|
|
|
|
*/
|
|
|
|
|
2000-02-11 03:41:21 +08:00
|
|
|
#if REGEX
|
1999-11-14 02:33:28 +08:00
|
|
|
/* get aliases */
|
|
|
|
#include "regex/regex_extra.h"
|
1999-05-11 08:01:47 +08:00
|
|
|
#include "regex/regex.h"
|
1999-11-14 02:33:28 +08:00
|
|
|
|
|
|
|
/* get rid of aliases */
|
|
|
|
#define PHP_NO_ALIASES
|
|
|
|
#include "regex/regex_extra.h"
|
|
|
|
#undef PHP_NO_ALIASES
|
|
|
|
|
1999-10-30 22:24:36 +08:00
|
|
|
#ifndef _REGEX_H
|
1999-05-11 08:01:47 +08:00
|
|
|
#define _REGEX_H 1 /* this should stop Apache from loading the system version of regex.h */
|
1999-10-30 22:22:10 +08:00
|
|
|
#endif
|
1999-10-30 22:24:36 +08:00
|
|
|
#ifndef _REGEX_H_
|
1999-10-30 01:33:19 +08:00
|
|
|
#define _REGEX_H_ 1
|
1999-10-30 22:22:10 +08:00
|
|
|
#endif
|
1999-10-30 22:24:36 +08:00
|
|
|
#ifndef _RX_H
|
1999-05-11 08:01:47 +08:00
|
|
|
#define _RX_H 1 /* Try defining these for Linux to */
|
1999-10-30 22:22:10 +08:00
|
|
|
#endif
|
1999-10-30 22:26:42 +08:00
|
|
|
#ifndef __REGEXP_LIBRARY_H__
|
1999-05-11 08:01:47 +08:00
|
|
|
#define __REGEXP_LIBRARY_H__ 1 /* avoid Apache including regex.h */
|
1999-10-30 22:22:10 +08:00
|
|
|
#endif
|
1999-10-30 22:24:36 +08:00
|
|
|
#ifndef _H_REGEX
|
1999-05-11 08:01:47 +08:00
|
|
|
#define _H_REGEX 1 /* This one is for AIX */
|
1999-10-30 22:22:10 +08:00
|
|
|
#endif
|
1999-11-14 00:51:33 +08:00
|
|
|
#elif REGEX == 0
|
1999-05-11 08:01:47 +08:00
|
|
|
#include <regex.h>
|
1999-12-01 07:19:33 +08:00
|
|
|
#ifndef _REGEX_H_
|
|
|
|
#define _REGEX_H_ 1
|
|
|
|
#endif
|
1999-05-11 08:01:47 +08:00
|
|
|
#endif
|
|
|
|
|
2000-07-03 07:46:51 +08:00
|
|
|
#endif /* PHP_REGEX_H */
|