diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 988900081..d2a9d9536 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,8 @@ +2010-08-24 Chris Sutcliffe + + * include/prsht.h (SNDMDG, POSTMSG): Fix typo. + * include/windowsx.h (SNDMSG): Ditto. + 2010-08-24 Chris Sutcliffe * include/prsht.h (SNDMSG, POSTMSG): Define macros and use throughout. diff --git a/winsup/w32api/include/prsht.h b/winsup/w32api/include/prsht.h index 325435979..a7706ab2b 100644 --- a/winsup/w32api/include/prsht.h +++ b/winsup/w32api/include/prsht.h @@ -6,17 +6,17 @@ #ifndef SNDMSG #ifdef __cplusplus -#define SNDMSG ::SNDMSG +#define SNDMSG ::SendMessage #else -#define SNDMSG SNDMSG +#define SNDMSG SendMessage #endif #endif /* ifndef SNDMSG */ #ifndef POSTMSG #ifdef __cplusplus -#define POSTMSG ::POSTMSG +#define POSTMSG ::PostMessage #else -#define POSTMSG POSTMSG +#define POSTMSG PostMessage #endif #endif /* ifndef POSTMSG */ diff --git a/winsup/w32api/include/windowsx.h b/winsup/w32api/include/windowsx.h index f0510a665..ec7930bd2 100644 --- a/winsup/w32api/include/windowsx.h +++ b/winsup/w32api/include/windowsx.h @@ -6,9 +6,9 @@ #ifndef SNDMSG #ifdef __cplusplus -#define SNDMSG ::SNDMSG +#define SNDMSG ::SendMessage #else -#define SNDMSG SNDMSG +#define SNDMSG SendMessage #endif #endif /* ifndef SNDMSG */