Kevin Puetz : tchar.h: Allow using header without msvcrt.

Alexandre Julliard julliard at winehq.org
Thu Feb 13 15:36:29 CST 2020


Module: wine
Branch: master
Commit: c12089039637dec5e598ed1c41e707f057494242
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=c12089039637dec5e598ed1c41e707f057494242

Author: Kevin Puetz <PuetzKevinA at JohnDeere.com>
Date:   Thu Feb 13 11:35:50 2020 +0100

tchar.h: Allow using header without msvcrt.

It's useful for _T macro and TCHAR typedef.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/tchar.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/tchar.h b/include/tchar.h
index d5e4983756..8de69c7466 100644
--- a/include/tchar.h
+++ b/include/tchar.h
@@ -23,10 +23,6 @@
 #error Wine should not include tchar.h internally
 #endif
 
-#if !defined(__MSVCRT__) && (defined(_UNICODE) || defined(_MBCS))
-#error You must use msvcrt when building in Unicode/MBCS mode [-mno-cygwin]
-#endif
-
 #ifdef __cplusplus
 extern "C" {
 #endif




More information about the wine-cvs mailing list