diff options
Diffstat (limited to 'extra/yassl/mySTL/helpers.hpp')
-rw-r--r-- | extra/yassl/mySTL/helpers.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/extra/yassl/mySTL/helpers.hpp b/extra/yassl/mySTL/helpers.hpp index de825c23fec..8d2061fc4f1 100644 --- a/extra/yassl/mySTL/helpers.hpp +++ b/extra/yassl/mySTL/helpers.hpp @@ -28,11 +28,14 @@ #define mySTL_HELPERS_HPP #include <stdlib.h> +#include <new> // placement new + + +#ifdef __IBMCPP__ /* Workaround for the lack of operator new(size_t, void*) in IBM VA C++ 6.0 - Also used as a workaround to avoid including <new> */ struct Dummy {}; @@ -42,6 +45,9 @@ } typedef Dummy* yassl_pointer; +#else + typedef void* yassl_pointer; +#endif namespace mySTL { |