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

This commit is contained in:
ramil@mysql.com 2005-06-24 12:51:11 +05:00
parent 5237de7a71
commit 66330a9d59

View file

@ -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