mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 14:15:30 +00:00
ugh, fix for the windows bustage. this fix sucks. windows.h sucks.
This commit is contained in:
parent
0b12927e7d
commit
e74258e943
@ -49,6 +49,19 @@
|
||||
#include "nsEscape.h"
|
||||
|
||||
#include "nsIPSMSocketInfo.h"
|
||||
/* sigh, cmtcmn.h, included from nsIPSMSocketInfo.h, includes windows.h, which includes winuser.h,
|
||||
which defines PostMessage to be either PostMessageA or PostMessageW... of course it does this
|
||||
without using parameters, so any use of PostMessage now becomes PostMessageA...
|
||||
since this file is XP and doesn't need windows.h, i'm going to just undef this out for now
|
||||
|
||||
when someone comes up with a better solution, please let me know.
|
||||
|
||||
Stuart Parmenter <pavlov@netscape.com>
|
||||
*/
|
||||
#ifdef PostMessage
|
||||
#undef PostMessage
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef XP_UNIX
|
||||
#include <stdarg.h>
|
||||
|
Loading…
Reference in New Issue
Block a user