mud/fluffos-2.23-ds03/make_malloc.c
2020-09-06 05:43:07 -07:00

19 lines
442 B
C

/* simple little program to link the right malloc c module to malloc.c */
/* needs to be a C program so that it can include config.h */
#define NO_SOCKETS
#define NO_OPCODES
#include "std.h"
#if !defined(THE_MALLOC) && !defined(THE_WRAPPER)
int main() {
puts("Memory package and/or malloc wrapper incorrectly specified in options.h\n");
}
#else
int main() {
unlink("malloc.c");
unlink("mallocwrapper.c");
return 0;
}
#endif