Merge pull request #97 from gageas/undefCallocRealloc

undef defined callc/realloc macros
This commit is contained in:
Mark VanderVoord
2015-02-02 10:06:58 -05:00

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>