diff options
author | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
commit | 15740faf9fe9fe4be08965098bbf2947e096aeeb (patch) | |
tree | a730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/Misc/Allocator.h |
Diffstat (limited to 'Runtime/Misc/Allocator.h')
-rw-r--r-- | Runtime/Misc/Allocator.h | 17 |
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_ |