SVN build error in orxPhysics.cpp

I synced SVN today and had a build error in Xcode in orxPhysics.cpp

#include <malloc.h> (Xcode couldn't find this file)

I tried it again with the Xcode test project to make sure I didn't need to make a change in my project. That failed, too.

I replaced the aforementioned line with #include <stdlib.h> and everything was successful.

Xcode 4, iOS SDK 5

Comments

  • edited February 2012
    Mmh, interesting, my XCode 3/iOS SDK 4.2 has no problem with malloc.h.

    Apparently it got moved to malloc/malloc.h later on. Ah well, stdlib.h it is! Thanks for reporting that issue.
Sign In or Register to comment.