summaryrefslogtreecommitdiff
path: root/Runtime/Misc/Allocator.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-08-14 22:50:43 +0800
committerchai <chaifix@163.com>2019-08-14 22:50:43 +0800
commit15740faf9fe9fe4be08965098bbf2947e096aeeb (patch)
treea730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/Misc/Allocator.cpp
+Unity Runtime codeHEADmaster
Diffstat (limited to 'Runtime/Misc/Allocator.cpp')
-rw-r--r--Runtime/Misc/Allocator.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/Runtime/Misc/Allocator.cpp b/Runtime/Misc/Allocator.cpp
new file mode 100644
index 0000000..0c1f3c0
--- /dev/null
+++ b/Runtime/Misc/Allocator.cpp
@@ -0,0 +1,18 @@
+#include "UnityPrefix.h"
+#if defined(UNIT_TEST)
+#include <cassert>
+#define AssertIf(x) assert(!(x))
+#else
+#include "Configuration/UnityConfigure.h"
+#endif
+
+#include <map>
+
+#if UNITY_WIN || UNITY_ANDROID
+#include <stdlib.h>
+#endif
+
+#include "Allocator.h"
+#if UNITY_WII
+#include <rvlaux/clib.h>
+#endif