fix all build errors, only 1 linking error.

This commit is contained in:
Venugh
2012-04-09 17:10:54 +02:00
parent 8452fd0dbd
commit 9ac2255fbc

View File

@@ -0,0 +1,17 @@
#ifndef _MEMORY_H
#define _MEMORY_H
// memory management
inline void* dtCustomAlloc(int size, dtAllocHint /*hint*/)
{
return (void*)new unsigned char[size];
}
inline void dtCustomFree(void* ptr)
{
delete [] (unsigned char*)ptr;
}
#endif