Prevent the use of windowsx.h with Wine source.
This commit is contained in:
parent
3b397e5079
commit
9d9bb6a810
|
@ -22,6 +22,11 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __WINESRC__
|
||||||
|
/* This file contains macros that cause warnings on gcc 4.1, so avoid it. */
|
||||||
|
#error Please avoid use of windowsx.h in Wine source code.
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef SNDMSG
|
#ifndef SNDMSG
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#define SNDMSG ::SendMessage
|
#define SNDMSG ::SendMessage
|
||||||
|
|
Loading…
Reference in New Issue