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