#include <ctype.h>\r
#include <assert.h>\r
\r
-// Memory allocation\r
-#define C_MALLOC malloc\r
-#define C_FREE free\r
-#define C_REALLOC realloc\r
-#define C_MEMCPY memcpy\r
-\r
// Remove Prefix\r
#ifdef COMMONLIB_REMOVE_PREFIX\r
#define ASSERT c_ASSERT\r
\r
#endif // COMMONLIB_REMOVE_PREFIX\r
\r
+// Memory allocation\r
+#ifndef C_MALLOC\r
+#define C_MALLOC malloc\r
+#endif\r
+#ifndef C_FREE\r
+#define C_FREE free\r
+#endif\r
+#ifndef C_REALLOC\r
+#define C_REALLOC realloc\r
+#endif\r
+#ifndef C_MEMCPY\r
+#define C_MEMCPY memcpy\r
+#endif\r
+\r
+\r
// typedefs\r
typedef unsigned int uint;\r
typedef uint8_t uint8;\r