A few fixes to make it compile under windows again

This commit is contained in:
2022-03-17 23:28:25 -04:00
parent 18c133ca9d
commit c44fe12a95
3 changed files with 7 additions and 6 deletions

View File

@@ -56,7 +56,7 @@ void* realloc(void*, size_t);
int memhash();
#else
inline void *malloc(size_t x) { return ::malloc(x); }
inline void free(void *p) { return ::free(x); }
inline void free(void *p) { return ::free(p); }
inline void *realloc(void *p, size_t x) { return ::realloc(p, x); }
inline int memhash() { return 0; }
#endif