diff options
author | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2010-08-25 05:59:51 +0400 |
---|---|---|
committer | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2010-08-25 05:59:51 +0400 |
commit | 58ae62fd9419c8ad4b8367aabde8b0aace235c74 (patch) | |
tree | f4702b0cd6d1a2ce4a691bb4b1e8682719c15ac6 /winsup/w32api | |
parent | 5ec52f06c26f6d1b8527f41ffb85f3249595c0a9 (diff) |
2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/prsht.h (SNDMDG, POSTMSG): Fix typo.
* include/windowsx.h (SNDMSG): Ditto.
Diffstat (limited to 'winsup/w32api')
-rw-r--r-- | winsup/w32api/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/w32api/include/prsht.h | 8 | ||||
-rw-r--r-- | winsup/w32api/include/windowsx.h | 4 |
3 files changed, 11 insertions, 6 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 988900081..d2a9d9536 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,5 +1,10 @@ 2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> + * include/prsht.h (SNDMDG, POSTMSG): Fix typo. + * include/windowsx.h (SNDMSG): Ditto. + +2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> + * include/prsht.h (SNDMSG, POSTMSG): Define macros and use throughout. Thank you to Ozkan Sezer for reporting the issue. 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 */ |