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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
0a2e305c
Commit
0a2e305c
authored
Feb 24, 2007
by
mats@romeo.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes to fix building on Windows.
parent
279e2b8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
include/my_global.h
include/my_global.h
+2
-6
No files found.
include/my_global.h
View file @
0a2e305c
...
@@ -1479,14 +1479,10 @@ do { doubleget_union _tmp; \
...
@@ -1479,14 +1479,10 @@ do { doubleget_union _tmp; \
#endif
#endif
/*
/*
Define placement versions of operator new and operator delete since
Include standard definitions of operator new and delete.
we cannot be sure that the <new> include exists.
*/
*/
#ifdef __cplusplus
#ifdef __cplusplus
inline
void
*
operator
new
(
size_t
,
void
*
ptr
)
{
return
ptr
;
}
#include <new>
inline
void
*
operator
new
[](
size_t
,
void
*
ptr
)
{
return
ptr
;
}
inline
void
operator
delete
(
void
*
,
void
*
)
{
/* Do nothing */
}
inline
void
operator
delete
[](
void
*
,
void
*
)
{
/* Do nothing */
}
#endif
#endif
#endif
/* my_global_h */
#endif
/* my_global_h */
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