home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 15 / AACD15.ISO / AACD / Magazine / HomeAutomation / Apache / include / php / main / php_regex.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-02-10  |  842 b   |  43 lines

  1. #ifndef _PHP_REGEX_H
  2. #define _PHP_REGEX_H
  3.  
  4. /*
  5.  * REGEX means:
  6.  * 0.. system regex
  7.  * 1.. bundled regex
  8.  */
  9.  
  10. #if REGEX
  11. /* get aliases */
  12. #include "regex/regex_extra.h"
  13. #include "regex/regex.h"
  14.  
  15. /* get rid of aliases */
  16. #define PHP_NO_ALIASES
  17. #include "regex/regex_extra.h"
  18. #undef PHP_NO_ALIASES
  19.  
  20. #ifndef _REGEX_H
  21. #define _REGEX_H 1                /* this should stop Apache from loading the system version of regex.h */
  22. #endif
  23. #ifndef _REGEX_H_
  24. #define _REGEX_H_ 1
  25. #endif
  26. #ifndef _RX_H
  27. #define _RX_H 1                      /* Try defining these for Linux to    */
  28. #endif
  29. #ifndef __REGEXP_LIBRARY_H__
  30. #define __REGEXP_LIBRARY_H__ 1     /* avoid Apache including regex.h    */
  31. #endif
  32. #ifndef _H_REGEX
  33. #define _H_REGEX 1              /* This one is for AIX */
  34. #endif
  35. #elif REGEX == 0
  36. #include <regex.h>
  37. #ifndef _REGEX_H_
  38. #define _REGEX_H_ 1
  39. #endif
  40. #endif
  41.  
  42. #endif /* _PHP_REGEX_H */
  43.