Commit a2a2e72a authored by Richard Gobeille's avatar Richard Gobeille
Browse files

engine: fix exported symbols for memory allocation failure handling

parent 6755a5f5
......@@ -35,16 +35,16 @@
static void (*g_MemErrHandler)(int32_t line, const char *file, const char *func);
#ifdef DEBUGGINGAIDS
const char *g_MemErrFunc = "???";
const char *g_MemErrFile = "???";
int32_t g_MemErrLine;
#endif
#ifdef __cplusplus
extern "C"
{
#endif
#ifdef DEBUGGINGAIDS
const char *g_MemErrFunc = "???";
const char *g_MemErrFile = "???";
int32_t g_MemErrLine;
#endif
char *_xstrdup(const char *s) { return xstrdup(s); }
void *_xmalloc(bsize_t const size) { return xmalloc(size); }
void *_xcalloc(bsize_t const nmemb, bsize_t const size) { return xcalloc(nmemb, size); }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment