include: Disallow using unicode.h when building against msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Alexandre Julliard 2019-04-01 12:21:25 +02:00
parent f0fbf6f584
commit b278caf152
2 changed files with 4 additions and 1 deletions

View File

@ -31,6 +31,10 @@
#error This file should not be used in Wine tests #error This file should not be used in Wine tests
#endif #endif
#ifdef __WINE_USE_MSVCRT
#error This file should not be used with msvcrt headers
#endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif

View File

@ -46,7 +46,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <windows.h> #include <windows.h>
#include <wine/debug.h> #include <wine/debug.h>
#include <wine/unicode.h>
#include "xcopy.h" #include "xcopy.h"
WINE_DEFAULT_DEBUG_CHANNEL(xcopy); WINE_DEFAULT_DEBUG_CHANNEL(xcopy);