mirror of
https://github.com/MariaDB/server.git
synced 2026-04-24 17:25:31 +02:00
an improvement (bug #7851: C++ 'new' conflicts with kernel header asm/system.h).
include/my_global.h: an improvement (bug #7851: C++ 'new' conflicts with kernel header asm/system.h). redefine 'new' before #include <asm/atomic.h> in any case.
This commit is contained in:
parent
2288296483
commit
77dc5c423f
1 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue