mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-22 05:50:48 +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>
|
#include <strings.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <stdlib.h> // prool for macos
|
||||||
|
|
||||||
#if (defined (STDC_HEADERS) || defined (__GNU_LIBRARY__))
|
#if (defined (STDC_HEADERS) || defined (__GNU_LIBRARY__))
|
||||||
#include <stdlib.h>
|
//#include <stdlib.h> // prool
|
||||||
|
|
||||||
#else /* No standard headers. */
|
#else /* No standard headers. */
|
||||||
|
|
||||||
|
@ -87,10 +89,12 @@
|
||||||
#include <memory.h>
|
#include <memory.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if 0 // prool for macos
|
||||||
extern char *malloc(), *calloc(), *realloc();
|
extern char *malloc(), *calloc(), *realloc();
|
||||||
extern void free ();
|
extern void free ();
|
||||||
|
|
||||||
extern void abort (), exit ();
|
extern void abort (), exit ();
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* Standard headers. */
|
#endif /* Standard headers. */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue