ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/freemol/trunk/src/mpeg_encode/src/libpnmrw.h
(Generate patch)
# Line 19 | Line 19
19   ** malloc.h at all.  A sad situation.  If you have compilation problems
20   ** that point here, feel free to tweak or remove these declarations.
21   */
22 + #if !defined(__APPLE__)
23   #include <malloc.h>
24 < #if !defined(sco)  &&  !defined(sgi) && !defined(IRIX) && !defined(WIN32)
24 > #if !defined(sco)  &&  !defined(sgi) && !defined(IRIX) && !defined(WIN32)
25   extern char* malloc();
26   #endif
27 + #else
28 + #include <stdlib.h>
29 + #endif
30 +
31   /* End of configurable definitions. */
32  
33  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines