projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1a147d3
)
It seems only HWND__* is needed by MinGW g++.
Steve Peters [Mon, 30 Oct 2006 18:29:30 +0000 (18:29 +0000)]
p4raw-id: //depot/perl@29164
win32/win32.c
patch
|
blob
|
blame
|
history
diff --git
a/win32/win32.c
b/win32/win32.c
index
a0f9c0a
..
b800ed6
100644
(file)
--- a/
win32/win32.c
+++ b/
win32/win32.c
@@
-4941,7
+4941,7
@@
win32_create_message_window()
return CreateWindow("Static", "", 0, 0, 0, 0, 0, HWND_MESSAGE, 0, 0, NULL);
}
-#if defined(__MINGW32__)
+#if defined(__MINGW32__) && defined(__cplusplus)
#define CAST_HWND__(x) (HWND__*)(x)
#else
#define CAST_HWND__(x) x