summaryrefslogtreecommitdiff
path: root/src/ntfs.h
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2004-04-25 23:55:49 +0000
committerStef Walter <stef@thewalter.net>2004-04-25 23:55:49 +0000
commite0f1ee22b9aae014c8dcdf1ba98bbdaffb716b0d (patch)
tree1c08888d11ceb7d113f80c6ca12476a1379a5606 /src/ntfs.h
parentfe65c5925cc12d82a04c2517456848fee06b4bf2 (diff)
Fixes. Updates
Diffstat (limited to 'src/ntfs.h')
-rw-r--r--src/ntfs.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ntfs.h b/src/ntfs.h
index f35fac0..ae7ea6e 100644
--- a/src/ntfs.h
+++ b/src/ntfs.h
@@ -23,6 +23,9 @@
#include "usuals.h"
#include "stddef.h"
#include "drive.h"
+#include "compat.h"
+
+typedef int16 ntfs_char;
#pragma pack(1)
@@ -200,7 +203,7 @@ bool ntfs_isbetternamespace(byte n1, byte n2);
bool ntfs_dofixups(byte* cluster, uint32 size);
/* TODO: Move these declarations elsewhere */
-char* unicode_transcode16to8(const wchar_t* src, size_t len);
-wchar_t* unicode_transcode8to16(const char* src, wchar_t* out, size_t len);
+char* unicode_transcode16to8(const ntfs_char* src, size_t len);
+ntfs_char* unicode_transcode8to16(const char* src, ntfs_char* out, size_t len);
#endif /* __NTFS_H__ */