include: Don't allow using wine/library.h with msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-05-17 16:46:47 +02:00
parent 7b494f13e7
commit a23c20eee1
6 changed files with 8 additions and 1 deletions

View File

@ -25,6 +25,7 @@
#include "winreg.h"
#include "winternl.h"
#include "wine/asm.h"
#include "wine/library.h"
#include "pshpack1.h"

View File

@ -36,6 +36,7 @@
#include "wine/winbase16.h"
#include "toolhelp.h"
#include "wine/library.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(toolhelp);

View File

@ -30,6 +30,7 @@
#include "winerror.h"
#include "dde.h"
#include "user_private.h"
#include "wine/library.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(msg);

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

@ -24,7 +24,6 @@
#include <winbase.h>
#include <winnls.h>
#include <wine/windef16.h>
#include <wine/library.h>
#include <pshpack1.h>

View File

@ -31,6 +31,7 @@
#include "winuser.h"
#include "wincon.h"
#include "wine/unicode.h"
#include "wine/library.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(winevdm);