mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 22:13:38 +00:00
Prevent the use of windowsx.h with Wine source.
This commit is contained in:
parent
3b397e5079
commit
9d9bb6a810
|
@ -22,6 +22,11 @@
|
|||
extern "C" {
|
||||
#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
|
||||
#ifdef __cplusplus
|
||||
#define SNDMSG ::SendMessage
|
||||
|
|
Loading…
Reference in a new issue