#167 malloc.h is not available on all platforms

closed-fixed
nobody
None
5
2007-01-23
2007-01-21
Min Sik Kim
No

Lib/lua/luarun.swg includes malloc.h, which is not a standard header file. It causes an error on platforms that doesn't provide the header, e.g., on Darwin. The attached patch (against swig-1.3.31) replaces malloc.h with stdlib.h.

Discussion

  • Min Sik Kim

    Min Sik Kim - 2007-01-21

    Patch to replace malloc.h with stdlib.h

     
  • Mark Gossage

    Mark Gossage - 2007-01-23

    Logged In: YES
    user_id=639496
    Originator: NO

    I had no idea that malloc.h was not a standard library, the change has been commited. Thanks.

     
  • Mark Gossage

    Mark Gossage - 2007-01-23
    • status: open --> closed-fixed
     

Log in to post a comment.