summaryrefslogtreecommitdiff
path: root/tools/windowsconstgen.go
diff options
context:
space:
mode:
Diffstat (limited to 'tools/windowsconstgen.go')
-rw-r--r--tools/windowsconstgen.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/windowsconstgen.go b/tools/windowsconstgen.go
index 6be1b59..777324d 100644
--- a/tools/windowsconstgen.go
+++ b/tools/windowsconstgen.go
@@ -110,8 +110,8 @@ func preamble(pkg string) string {
// for backwards compatibiilty reasons, Windows defines GetWindowLongPtr()/SetWindowLongPtr() as a macro which expands to GetWindowLong()/SetWindowLong() on 32-bit systems
// we'll just simulate that here
var gwlpNames = map[string]string{
- "386": "etWindowLong",
- "amd64": "etWindowLongPtr",
+ "386": "etWindowLongW",
+ "amd64": "etWindowLongPtrW",
}
func printConst(f *os.File, goconst string, winconst string) {