summaryrefslogtreecommitdiffstats
path: root/source/Concept/Framework/tools.cpp
diff options
context:
space:
mode:
authormasterm <devnull@localhost>2007-02-16 16:22:03 +0100
committermasterm <devnull@localhost>2007-02-16 16:22:03 +0100
commitba182f0ee0d0dbc798e4c782655f440339dcffdd (patch)
tree91efddcee13188e784336bcac358a4ac92deab9e /source/Concept/Framework/tools.cpp
parent91b2508dc92a97802353bd2e96f2849c835f0b2a (diff)
downloadrc2007-soccer-ba182f0ee0d0dbc798e4c782655f440339dcffdd.tar
rc2007-soccer-ba182f0ee0d0dbc798e4c782655f440339dcffdd.zip
+++ added AVR_Studio compatibility for framework
Diffstat (limited to 'source/Concept/Framework/tools.cpp')
-rw-r--r--source/Concept/Framework/tools.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Concept/Framework/tools.cpp b/source/Concept/Framework/tools.cpp
index 625ef20..6fd107c 100644
--- a/source/Concept/Framework/tools.cpp
+++ b/source/Concept/Framework/tools.cpp
@@ -1,6 +1,6 @@
#include "tools.h"
-#ifndef __cplusplus
+#ifndef new
//-----------------------------------------------------------------------------
void* operator new(size_t sz)
@@ -14,4 +14,4 @@ void operator delete(void* p)
free(p);
}
-#endif \ No newline at end of file
+#endif