forked from Mirrors/wine-wine
include: Don't allow using wine/library.h with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>stable
parent
7b494f13e7
commit
a23c20eee1
|
@ -25,6 +25,7 @@
|
||||||
#include "winreg.h"
|
#include "winreg.h"
|
||||||
#include "winternl.h"
|
#include "winternl.h"
|
||||||
#include "wine/asm.h"
|
#include "wine/asm.h"
|
||||||
|
#include "wine/library.h"
|
||||||
|
|
||||||
#include "pshpack1.h"
|
#include "pshpack1.h"
|
||||||
|
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
|
|
||||||
#include "wine/winbase16.h"
|
#include "wine/winbase16.h"
|
||||||
#include "toolhelp.h"
|
#include "toolhelp.h"
|
||||||
|
#include "wine/library.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(toolhelp);
|
WINE_DEFAULT_DEBUG_CHANNEL(toolhelp);
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#include "winerror.h"
|
#include "winerror.h"
|
||||||
#include "dde.h"
|
#include "dde.h"
|
||||||
#include "user_private.h"
|
#include "user_private.h"
|
||||||
|
#include "wine/library.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(msg);
|
WINE_DEFAULT_DEBUG_CHANNEL(msg);
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
#include <winbase.h>
|
#include <winbase.h>
|
||||||
#include <winnls.h>
|
#include <winnls.h>
|
||||||
#include <wine/windef16.h>
|
#include <wine/windef16.h>
|
||||||
#include <wine/library.h>
|
|
||||||
|
|
||||||
#include <pshpack1.h>
|
#include <pshpack1.h>
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
#include "winuser.h"
|
#include "winuser.h"
|
||||||
#include "wincon.h"
|
#include "wincon.h"
|
||||||
#include "wine/unicode.h"
|
#include "wine/unicode.h"
|
||||||
|
#include "wine/library.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(winevdm);
|
WINE_DEFAULT_DEBUG_CHANNEL(winevdm);
|
||||||
|
|
Loading…
Reference in New Issue