Commit 0a2e305c authored by mats@romeo.(none)'s avatar mats@romeo.(none)

Changes to fix building on Windows.

parent 279e2b8f
......@@ -1479,14 +1479,10 @@ do { doubleget_union _tmp; \
#endif
/*
Define placement versions of operator new and operator delete since
we cannot be sure that the <new> include exists.
Include standard definitions of operator new and delete.
*/
#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 */ }
#include <new>
#endif
#endif /* my_global_h */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment