mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-20 05:50:29 +08:00
Merge pull request #97 from gageas/undefCallocRealloc
undef defined callc/realloc macros
This commit is contained in:
@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user