This commit fix this compiler error:

commctrl.h:3360:20: error: 'L_MAX_URL_LENGTH' undeclared here (not in a 
function)
     WCHAR szMarkup[L_MAX_URL_LENGTH];
---
 mingw-w64-headers/include/commctrl.h |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/mingw-w64-headers/include/commctrl.h 
b/mingw-w64-headers/include/commctrl.h
index 8e694fc..56bf32c 100644
--- a/mingw-w64-headers/include/commctrl.h
+++ b/mingw-w64-headers/include/commctrl.h
@@ -2194,6 +2194,14 @@ extern "C" {
 #define CCS_RIGHT (CCS_VERT | CCS_BOTTOM)
 #define CCS_NOMOVEX (CCS_VERT | CCS_NOMOVEY)
 
+#ifdef _WIN32
+#define INVALID_LINK_INDEX (-1)
+#define MAX_LINKID_TEXT 48
+#define L_MAX_URL_LENGTH (2048+32+sizeof("://"))
+
+#define WC_LINK L"SysLink"
+#endif
+
 #ifndef NOLISTVIEW
 
 #define WC_LISTVIEWA "SysListView32"
@@ -5109,12 +5117,6 @@ typedef struct tagTVDISPINFOEXW {
 
 #endif
 
-#define INVALID_LINK_INDEX (-1)
-#define MAX_LINKID_TEXT 48
-#define L_MAX_URL_LENGTH (2048+32+sizeof("://"))
-
-#define WC_LINK L"SysLink"
-
 #define LWS_TRANSPARENT 0x1
 #define LWS_IGNORERETURN 0x2
 #if NTDDI_VERSION >= 0x06000000
-- 
1.7.10.4


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to