Commit 66330a9d authored by ramil@mysql.com's avatar ramil@mysql.com

an improvement (bug #7851: C++ 'new' conflicts with kernel header asm/system.h).

parent 5237de7a
......@@ -274,10 +274,8 @@ C_MODE_START int __cxa_pure_virtual() {\
#include <alloca.h>
#endif
#ifdef HAVE_ATOMIC_ADD
#if defined(__ia64__)
#define new my_arg_new
#define need_to_restore_new 1
#endif
C_MODE_START
#include <asm/atomic.h>
C_MODE_END
......
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