php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #129 Need extra #define in one file to compile
Submitted: 1998-03-02 11:13 UTC Modified: 1998-03-02 14:15 UTC
From: Lars-Owe dot Ivarsson at its dot uu dot se Assigned: rasmus (profile)
Status: Closed Package: Installation problem
PHP Version: 3.0b5 OS: AIX 4.2.1
Private report: No CVE-ID: None
 [1998-03-02 11:13 UTC] Lars-Owe dot Ivarsson at its dot uu dot se
Would you please add a single #define to the file parser.h
in order to make your regex package coexist with the
system header file?

Yours,
     Lars-Owe

*** parser.h    Mon Mar  2 16:16:31 1998
--- parser.h~   Wed Feb 25 00:46:16 1998
***************
*** 113,119 ****
  #if REGEX
  #include "regex/regex.h"
  #define _REGEX_H 1                            /* this should stop Apache from loading the system version of regex.h */
- #define _H_REGEX 1
  #define _RX_H 1                                               /* Try defining these for Linux to      */
  #define __REGEXP_LIBRARY_H__ 1                /* avoid Apache including regex.h       */
  #else
--- 113,118 ----

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-03-02 14:15 UTC] rasmus
Done
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Dec 06 17:04:05 2021 UTC