include: Suppress "use msvcrt" error in tchar.h when -mno-cygwin is used.

Signed-off-by: Anthony Fok <foka@debian.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Anthony Fok 2016-01-05 10:50:23 -07:00 committed by Alexandre Julliard
parent 3dff8bc213
commit e034c41953
1 changed files with 2 additions and 2 deletions

View File

@ -23,8 +23,8 @@
#error Wine should not include tchar.h internally #error Wine should not include tchar.h internally
#endif #endif
#if defined(_UNICODE) || defined(_MBCS) #if !defined(__MSVCRT__) && (defined(_UNICODE) || defined(_MBCS))
#error You must use msvcrt when building in Unicode/MBCS mode #error You must use msvcrt when building in Unicode/MBCS mode [-mno-cygwin]
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus