Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
d3f7ec30
Commit
d3f7ec30
authored
May 24, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplifying new/my_arg_new wrapping
parent
edcc645b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
include/my_global.h
include/my_global.h
+3
-1
No files found.
include/my_global.h
View file @
d3f7ec30
...
@@ -289,12 +289,14 @@ C_MODE_START int __cxa_pure_virtual() {\
...
@@ -289,12 +289,14 @@ C_MODE_START int __cxa_pure_virtual() {\
#endif
#endif
#if defined(__ia64__)
#if defined(__ia64__)
#define new my_arg_new
#define new my_arg_new
#define need_to_restore_new 1
#endif
#endif
C_MODE_START
C_MODE_START
#include <asm/atomic.h>
#include <asm/atomic.h>
C_MODE_END
C_MODE_END
#if
defined(__ia64__)
#if
def need_to_restore_new
/* probably safer than #ifdef new */
#undef new
#undef new
#undef need_to_restore_new
#endif
#endif
#endif
#endif
#include <errno.h>
/* Recommended by debian */
#include <errno.h>
/* Recommended by debian */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment