Added a generic reallocation implementation based on ei_aligned_malloc/_free.

Rewrote ei_handmade_aligned_realloc such that it is now using std::realloc.
Reorganized functions in Memory.h for better readability.
Add missing <cerrno> include to Core (it's now required in Memory.h).
This commit is contained in:
Hauke Heibel
2010-02-28 14:32:57 +01:00
parent 40bd69fbaa
commit ff8c2149c1
2 changed files with 152 additions and 164 deletions

View File

@@ -114,6 +114,7 @@
#endif
#endif
#include <cerrno>
#include <cstdlib>
#include <cmath>
#include <complex>