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

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
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
#endif
#ifdef __WINE_USE_MSVCRT
#error This file should not be used with msvcrt headers
#endif
#ifdef __cplusplus
extern "C" {
#endif

View File

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