If including assert.h when the assert macro is already defined, assert.h will fail to compile. Making it not reentrant should solve the problem.
Logged In: YES
Rather than making it reentrant I apply the same technique as in errno.h to signal when assert has been defined even if assert.h hasn't been included.
Log in to post a comment.