diff --git a/NativePath/NativeMemory.h b/NativePath/NativeMemory.h index 27225e1..e9cf6de 100644 --- a/NativePath/NativeMemory.h +++ b/NativePath/NativeMemory.h @@ -37,8 +37,6 @@ THE SOFTWARE. extern "C" { #endif -typedef __SIZE_TYPE__ size_t; - extern void* npMalloc(size_t size); #define malloc npMalloc diff --git a/NativePath/standard/malloc.h b/NativePath/standard/malloc.h new file mode 100644 index 0000000..c486e9c --- /dev/null +++ b/NativePath/standard/malloc.h @@ -0,0 +1,6 @@ +#ifndef malloc_h +#define malloc_h + +#include "../NativeMemory.h" + +#endif \ No newline at end of file