Re: cocoa-dev digest, Vol 2 #406 - 13 msgs
Re: cocoa-dev digest, Vol 2 #406 - 13 msgs
- Subject: Re: cocoa-dev digest, Vol 2 #406 - 13 msgs
- From: Adam Atlas <email@hidden>
- Date: Thu, 28 Mar 2002 17:45:07 -0500
On Thu, 28 Mar 2002 11:52:38 +0000, Finlay Dobbie wrote:
On Tuesday, March 26, 2002, at 01:46 AM, Ben Hines wrote:
Then there are often problems related to headers, like on OS X
#include <malloc.h>
has to be
#include <sys/malloc.h>
This is incorrect. There is no equivalent to malloc.h on OS X, malloc is
defined in one of the other standard headers (I forget which). You just
just #ifdef it out.
No, #include <sys/malloc.h> is right: just go into Terminal and do: "ls
/usr/include/sys/" and you'll see that there is, in fact, a malloc.h.
--
Adam Atlas
Atomm Software
http://www.atommic.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.