summaryrefslogtreecommitdiff
path: root/Runtime/Misc/Allocator.h
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.h
+Unity Runtime codeHEADmaster
Diffstat (limited to 'Runtime/Misc/Allocator.h')
-rw-r--r--Runtime/Misc/Allocator.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Runtime/Misc/Allocator.h b/Runtime/Misc/Allocator.h
new file mode 100644
index 0000000..88480ca
--- /dev/null
+++ b/Runtime/Misc/Allocator.h
@@ -0,0 +1,17 @@
+#ifndef UNITY_CUSTOM_ALLOCATOR_H_
+#define UNITY_CUSTOM_ALLOCATOR_H_
+
+
+
+#if UNITY_WII
+# define MemPool1 0
+# define MemPool2 1
+#elif UNITY_XENON
+# define MemPool1 0
+# define MemPool2 0
+#else
+# define MemPool1 0
+# define MemPool2 1
+#endif
+
+#endif // UNITY_CUSTOM_ALLOCATOR_H_