1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

simplifying new/my_arg_new wrapping

This commit is contained in:
unknown
2005-05-24 21:02:42 +02:00
parent edcc645b8e
commit d3f7ec3089

View File

@ -289,12 +289,14 @@ C_MODE_START int __cxa_pure_virtual() {\
#endif
#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
#if defined(__ia64__)
#ifdef need_to_restore_new /* probably safer than #ifdef new */
#undef new
#undef need_to_restore_new
#endif
#endif
#include <errno.h> /* Recommended by debian */