Commit 576f6fcd authored by Barry Perlman's avatar Barry Perlman Committed by Yoni Fogel

[t:4263] #4263 Placate compiler by undef of assert before define assert in hatoku_assert.h.

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@38180 c7de825b-a66e-492c-adef-691d508d4ae1
parent 72223b13
......@@ -8,6 +8,7 @@
void toku_hton_assert_fail(const char*/*expr_as_string*/,const char */*fun*/,const char*/*file*/,int/*line*/, int/*errno*/) __attribute__((__visibility__("default"))) __attribute__((__noreturn__));
#undef assert
#define assert(expr) ((expr) ? (void)0 : toku_hton_assert_fail(#expr, __FUNCTION__, __FILE__, __LINE__, errno))
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment