helos1/extlib/dlmalloc/malloc.c.diff
Edgaru089 947cf0b4aa extlib: add and configure dlmalloc
Get dlmalloc here: ftp://gee.cs.oswego.edu/pub/misc/malloc.c and ftp://gee.cs.oswego.edu/pub/misc/malloc-2.8.6.h
2021-10-11 23:31:23 +08:00

29 lines
493 B
Diff

1,2d0
< #include "dlmalloc_config.h"
<
535,544c533,541
< //#ifndef WIN32
< //#ifdef _WIN32
< //#define WIN32 1
< //#endif /* _WIN32 */
< //#ifdef _WIN32_WCE
< //#define LACKS_FCNTL_H
< //#define WIN32 1
< //#endif /* _WIN32_WCE */
< //#endif /* WIN32 */
<
---
> #ifndef WIN32
> #ifdef _WIN32
> #define WIN32 1
> #endif /* _WIN32 */
> #ifdef _WIN32_WCE
> #define LACKS_FCNTL_H
> #define WIN32 1
> #endif /* _WIN32_WCE */
> #endif /* WIN32 */
1449d1445
< #ifndef assert
1451d1446
< #endif