Commit 9d9bb6a8 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Prevent the use of windowsx.h with Wine source.

parent 3b397e50
...@@ -22,6 +22,11 @@ ...@@ -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
......
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