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
3d6d1e0c
Commit
3d6d1e0c
authored
May 27, 2004
by
tomas@poseidon.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.(none):/home/tomas/mysql-4.1-ndb
parents
67da12a8
4e75c121
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
ndb/src/common/portlib/gcc.cpp
ndb/src/common/portlib/gcc.cpp
+1
-1
ndb/src/common/util/new.cpp
ndb/src/common/util/new.cpp
+4
-0
No files found.
ndb/src/common/portlib/gcc.cpp
View file @
3d6d1e0c
...
...
@@ -2,6 +2,6 @@
/**
* GCC linking problem...
*/
#if
( __GNUC__ == 3 )
#if
def DEFINE_CXA_PURE_VIRTUAL
extern
"C"
{
int
__cxa_pure_virtual
()
{
return
0
;}
}
#endif
ndb/src/common/util/new.cpp
View file @
3d6d1e0c
...
...
@@ -5,6 +5,8 @@ extern "C" {
void
(
*
ndb_new_handler
)()
=
0
;
}
#ifdef USE_MYSYS_NEW
void
*
operator
new
(
size_t
sz
)
{
void
*
p
=
malloc
(
sz
?
sz
:
1
);
...
...
@@ -36,3 +38,5 @@ void operator delete[] (void *ptr) throw ()
if
(
ptr
)
free
(
ptr
);
}
#endif // USE_MYSYS_NEW
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