diff options
Diffstat (limited to 'ldmicro/lib/linuxUI/linuxLD.h')
-rw-r--r-- | ldmicro/lib/linuxUI/linuxLD.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/ldmicro/lib/linuxUI/linuxLD.h b/ldmicro/lib/linuxUI/linuxLD.h index fc60259..db2a42f 100644 --- a/ldmicro/lib/linuxUI/linuxLD.h +++ b/ldmicro/lib/linuxUI/linuxLD.h @@ -20,17 +20,21 @@ typedef wchar_t WCHAR; typedef char CHAR; typedef CONST WCHAR *LPCWSTR; typedef CONST CHAR *LPCSTR; /// should be __nullterminated + #ifdef UNICODE typedef LPCWSTR LPCTSTR; #else typedef LPCSTR LPCTSTR; #endif -// #ifdef UNICODE -// typedef LPWSTR LPTSTR; -// #else -// typedef LPSTR LPTSTR; -// #endif +typedef WCHAR *LPWSTR; +typedef CHAR *LPSTR; + +#ifdef UNICODE + typedef LPWSTR LPTSTR; +#else + typedef LPSTR LPTSTR; +#endif /// all handles will hold a GtkWindow* type typedef void* PVOID; |