Commit b278caf1 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent f0fbf6f5
...@@ -31,6 +31,10 @@ ...@@ -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
......
...@@ -46,7 +46,6 @@ ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment