• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: cocoa-dev digest, Vol 2 #406 - 13 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Bug in g++'s int constructor?
  • Next by Date: coco for ms windows
  • Previous by thread: Re(2): Bug in g++'s int constructor?
  • Next by thread: coco for ms windows
  • Index(es):
    • Date
    • Thread