Zend: malloc.h on OS X is incorrect
| From: | Kevin Ingwersen | Date: | Fri, 25 Apr 2014 01:23:35 +0000 |
| Subject: | Zend: malloc.h on OS X is incorrect | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-73789@lists.php.net to get a copy of this message | ||
Hey.
I am currently working on using PHP - atm Zend - with cDetect ( http://github.com/IngwiePhoenix/cDetect ) and I
noticed that there is a check to a header, which is not going to be true on OS X.
Zend checks for
<malloc.h>
But on OS X, this so happens to be
<malloc/malloc.h>
Please note; this is not always the case. If my memory serves right, Apple changed in one or two OS
X major versions ago. An additional check and condition against HAVE_MALLOC_MALLOC_H would possibly
suit this.
But then again, I have had no issues using PHP ever, although I thought I’d point this out.
I am taking this information off 5.5.11-github.
Kind regards, Ingwie.