mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-21 21:40:49 +02:00
MODIF: adaptation for macOS
This commit is contained in:
parent
498b652546
commit
6826b1a148
1 changed files with 5 additions and 1 deletions
|
@ -78,8 +78,10 @@
|
|||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
#include <stdlib.h> // prool for macos
|
||||
|
||||
#if (defined (STDC_HEADERS) || defined (__GNU_LIBRARY__))
|
||||
#include <stdlib.h>
|
||||
//#include <stdlib.h> // prool
|
||||
|
||||
#else /* No standard headers. */
|
||||
|
||||
|
@ -87,10 +89,12 @@
|
|||
#include <memory.h>
|
||||
#endif
|
||||
|
||||
#if 0 // prool for macos
|
||||
extern char *malloc(), *calloc(), *realloc();
|
||||
extern void free ();
|
||||
|
||||
extern void abort (), exit ();
|
||||
#endif
|
||||
|
||||
#endif /* Standard headers. */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue