[vlc-commits] Win32: Add a mingw-w64 2.0.1 workaround

Rafaël Carré git at videolan.org
Wed Feb 1 23:54:21 CET 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Feb  1 17:48:28 2012 -0500| [459c7988c324cdf24c2351a52cb9778f3a513d61] | committer: Rafaël Carré

Win32: Add a mingw-w64 2.0.1 workaround

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=459c7988c324cdf24c2351a52cb9778f3a513d61
---

 include/vlc_windows_interfaces.h |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/include/vlc_windows_interfaces.h b/include/vlc_windows_interfaces.h
index 316d77d..c7a6c0e 100644
--- a/include/vlc_windows_interfaces.h
+++ b/include/vlc_windows_interfaces.h
@@ -84,10 +84,6 @@ typedef enum THUMBBUTTONFLAGS {
     THBF_NONINTERACTIVE = 0x10
 } THUMBBUTTONFLAGS;
 
-#ifndef THBN_CLICKED
-# define THBN_CLICKED        0x1800
-#endif
-
 #ifdef __cplusplus
 interface ITaskbarList : public IUnknown {
 public:
@@ -226,7 +222,12 @@ struct ITaskbarList3Vtbl
 #endif /* __cplusplus */
 #endif /* __ITaskbarList3_INTERFACE_DEFINED__ */
 
-/* mingw-w64 also fails to define this as of 2.0.1 */
+/* mingw-w64 also fails to define these as of 2.0.1 */
+
+#ifndef THBN_CLICKED
+# define THBN_CLICKED        0x1800
+#endif
+
 #ifndef __IApplicationAssociationRegistrationUI_INTERFACE_DEFINED__
 #define __IApplicationAssociationRegistrationUI_INTERFACE_DEFINED__
 const GUID IID_IApplicationAssociationRegistrationUI = {0x1f76a169,0xf994,0x40ac, {0x8f,0xc8,0x09,0x59,0xe8,0x87,0x47,0x10}};



More information about the vlc-commits mailing list