]> git.sesse.net Git - vlc/blobdiff - include/vlc_windows_interfaces.h
Lua: remove write-only set_intf()
[vlc] / include / vlc_windows_interfaces.h
index af6ac0fe0d6b839fbb8d14cc31cd2057e3f98a86..c7a6c0ea5f8435c98f8b106233afc1e059ea36d4 100644 (file)
@@ -36,6 +36,9 @@
 #include <basetyps.h>
 #include <objbase.h>
 
+/* rpcndr.h defines small not only for idl */
+#undef small
+
 /* mingw.org fails to define this */
 #ifndef __ITaskbarList3_INTERFACE_DEFINED__
 #define __ITaskbarList3_INTERFACE_DEFINED__
@@ -81,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:
@@ -223,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}};