prototype for strdup with MPW
This commit is contained in:
parent
cfa099c0c7
commit
1fa70986bd
|
@ -1,3 +1,7 @@
|
|||
2004-12-19 Chris Taylor <c.taylor@student.curtin.edu.au>
|
||||
|
||||
* include/u_mem.h: prototype for strdup with MPW
|
||||
|
||||
2004-12-17 Chris Taylor <c.taylor@student.curtin.edu.au>
|
||||
|
||||
* main/state.c: open autosave file for writing, not reading
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: u_mem.h,v 1.7 2003-11-27 00:21:04 btb Exp $ */
|
||||
/* $Id: u_mem.h,v 1.8 2004-12-19 09:39:01 btb Exp $ */
|
||||
/*
|
||||
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
|
||||
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
|
||||
|
@ -42,6 +42,10 @@ void mem_validate_heap();
|
|||
|
||||
#else
|
||||
|
||||
#ifdef macintosh
|
||||
extern char *strdup(const char *str);
|
||||
#endif
|
||||
|
||||
#define d_malloc(size) malloc(size)
|
||||
#define d_calloc(n, size) calloc(n, size)
|
||||
#define d_realloc(ptr,size) realloc(ptr,size)
|
||||
|
|
Loading…
Reference in a new issue