metaforce/NESEmulator/malloc.h

17 lines
382 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
2019-02-16 01:32:05 +00:00
#pragma GCC diagnostic ignored "-Wpragmas"
2018-12-08 01:49:15 +00:00
#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