undef defined callc/realloc macros

This commit is contained in:
@gageas
2015-02-02 23:57:07 +09:00
parent e5b25dfc22
commit 1c5986bd30

View File

@ -162,6 +162,14 @@ void UnityMalloc_MakeMallocFailAfterCount(int countdown)
#undef free
#endif
#ifdef calloc
#undef calloc
#endif
#ifdef realloc
#undef realloc
#endif
#include <stdlib.h>
#include <string.h>