diff options
Diffstat (limited to 'plugins/YAMN/debug.h')
-rw-r--r-- | plugins/YAMN/debug.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/plugins/YAMN/debug.h b/plugins/YAMN/debug.h index df6977259c..d2b6764406 100644 --- a/plugins/YAMN/debug.h +++ b/plugins/YAMN/debug.h @@ -47,11 +47,18 @@ extern HANDLE DecodeFile; #endif
#if defined(DEBUG_FILEREAD) || defined(DEBUG_FILEREADMESSAGES)
-DWORD ReadStringFromMemory(TCHAR **Parser,TCHAR *End,TCHAR **StoreTo,TCHAR *DebugString);
+DWORD ReadStringFromMemory(char **Parser,char *End,char **StoreTo,char *DebugString);
#ifndef UNICODE
-DWORD ReadStringFromMemoryW(TCHAR **Parser,TCHAR *End,TCHAR **StoreTo,TCHAR *DebugString);
+#define ReadStringFromMemoryW ReadStringFromMemory
#else
+DWORD ReadStringFromMemoryW(char **Parser,TCHAR *End,char **StoreTo,TCHAR *DebugString);
+ #endif
+#else
+DWORD ReadStringFromMemory(char **Parser,char *End,char **StoreTo);
+ #ifndef UNICODE
#define ReadStringFromMemoryW ReadStringFromMemory
+ #else
+DWORD ReadStringFromMemoryW(WCHAR **Parser,WCHAR *End,WCHAR **StoreTo);
#endif
#endif
|