mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-12 17:11:12 +00:00
(HAVE_VALLOC): if not defined, #define valloc malloc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@212 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6a3d2c4195
commit
842cb10eac
1 changed files with 6 additions and 0 deletions
|
@ -27,6 +27,12 @@
|
||||||
#define size_t unsigned long
|
#define size_t unsigned long
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_VALLOC
|
||||||
|
#include <stdlib.h>
|
||||||
|
#else
|
||||||
|
#define valloc malloc
|
||||||
|
#endif
|
||||||
|
|
||||||
void*
|
void*
|
||||||
__objc_malloc(size_t size)
|
__objc_malloc(size_t size)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue