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
8161dcaa
Commit
8161dcaa
authored
Mar 20, 2007
by
df@pippilotta.erinye.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build fix for netware
parent
5572ab14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
include/my_global.h
include/my_global.h
+14
-1
No files found.
include/my_global.h
View file @
8161dcaa
...
...
@@ -1489,11 +1489,24 @@ do { doubleget_union _tmp; \
#define dlerror() ""
#endif
#ifndef __NETWARE__
/*
Include standard definitions of operator new and delete.
*
Include standard definitions of operator new and delete.
*/
#ifdef __cplusplus
#include <new>
#endif
#else
/*
* Define placement versions of operator new and operator delete since
* we don't have <new> when building for Netware.
*/
#ifdef __cplusplus
inline
void
*
operator
new
(
size_t
,
void
*
ptr
)
{
return
ptr
;
}
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 */
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