mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
Simplify configure, quiet warnings (from Wacko).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2674 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
abd9af2aa3
commit
d286ed38b2
21 changed files with 85 additions and 92 deletions
|
@ -33,17 +33,6 @@
|
|||
|
||||
#define LIST_GROW_FACTOR 2
|
||||
|
||||
#if !defined(NX_MALLOC)
|
||||
#define NX_MALLOC(VAR,TYPE,NUM ) \
|
||||
((VAR) = (TYPE *) malloc((unsigned)(NUM)*sizeof(TYPE)))
|
||||
#endif
|
||||
#if !defined(NX_REALLOC)
|
||||
#define NX_REALLOC(VAR,TYPE,NUM ) \
|
||||
((VAR) = (TYPE *) realloc((VAR), (unsigned)(NUM)*sizeof(TYPE)))
|
||||
#endif
|
||||
#if !defined(NX_FREE)
|
||||
#define NX_FREE(VAR) free(VAR)
|
||||
#endif
|
||||
|
||||
/* memcpy() is a gcc builtin */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue