summaryrefslogtreecommitdiff
path: root/mysys/my_new.cc
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-02-05 22:08:29 +0100
committerunknown <serg@serg.mylan>2004-02-05 22:08:29 +0100
commit42029de3cad007aae5ad923a3d002748f42d96b5 (patch)
tree1cb2b680565d77fe14c5acad6118e2f7c144e58b /mysys/my_new.cc
parentd7d012046c544b84a6963687a86292b0b76e6bbb (diff)
downloadmariadb-git-42029de3cad007aae5ad923a3d002748f42d96b5.tar.gz
reverted
fixed in 4.0 properly
Diffstat (limited to 'mysys/my_new.cc')
-rw-r--r--mysys/my_new.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/my_new.cc b/mysys/my_new.cc
index ec27502d8aa..14423c3afd5 100644
--- a/mysys/my_new.cc
+++ b/mysys/my_new.cc
@@ -19,10 +19,10 @@
with gcc 3.0.x to avoid including libstdc++
*/
-#ifdef USE_MYSYS_NEW
-
#include "mysys_priv.h"
+#ifdef USE_MYSYS_NEW
+
void *operator new (size_t sz)
{
return (void *) malloc (sz ? sz : 1);