summaryrefslogtreecommitdiff
path: root/src/compat.h
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2004-05-07 01:45:49 +0000
committerStef Walter <stef@thewalter.net>2004-05-07 01:45:49 +0000
commit4297404391e6d828d71306f7402ba1cdd05297aa (patch)
tree41efac068d7dff03c061fad9b75e83bf36f9653c /src/compat.h
parente0f1ee22b9aae014c8dcdf1ba98bbdaffb716b0d (diff)
- Fixed attribute List problems.
- Super fragmented MFTs work - Ignore compressed and encrypted files - Simplified memory management. - Skip simple files - Win32 compatibility work
Diffstat (limited to 'src/compat.h')
-rw-r--r--src/compat.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/compat.h b/src/compat.h
index c2b4128..65a0c8e 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -192,6 +192,10 @@ void vwarnx(const char *fmt, va_list ap);
void* reallocf(void* p, size_t sz);
#endif
+#ifndef HAVE_MALLOCF
+void* mallocf(size_t sz);
+#endif
+
/* Some number conversion stuff */
#include <wchar.h>
@@ -223,7 +227,7 @@ void* reallocf(void* p, size_t sz);
#ifdef _WIN32
- #ifdef SIZEOF_WHCHAR_T != 2
+ #if SIZEOF_WHCHAR_T != 2
#error Incompatible size of wchar_t
#endif