metaforce/NESEmulator/malloc.h

16 lines
339 B
C
Raw Normal View History

2018-02-01 23:19:34 +00:00
#ifndef URDE_NESEMULATOR_MALLOC_H
#define URDE_NESEMULATOR_MALLOC_H
#ifdef __APPLE__
#include <stdlib.h>
2018-02-03 03:08:10 +00:00
#elif _WIN32
#include <../ucrt/malloc.h>
2018-02-01 23:19:34 +00:00
#else
2018-12-08 01:49:15 +00:00
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Winclude-next-absolute-path"
2018-02-03 03:08:10 +00:00
#include_next <malloc.h>
2018-12-08 01:49:15 +00:00
#pragma GCC diagnostic pop
2018-02-01 23:19:34 +00:00
#endif
#endif // URDE_NESEMULATOR_MALLOC_H