Skip to content

Commit 2197587

Browse files
committed
Add new defines for python bindings on Windows
1 parent a4db960 commit 2197587

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/python/GenerateConfig.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ endif()
115115
# OS
116116
if(WIN32)
117117
string(JSON json_defines SET ${json_defines} "_WIN32" "null")
118+
string(JSON json_defines SET ${json_defines} "DWORD" "\"uint64_t\"")
119+
string(JSON json_defines SET ${json_defines} "WINAPI" "\"__stdcall\"")
120+
string(JSON json_defines SET ${json_defines} "LPVOID" "\"void*\"")
118121
endif()
119122
if(UNIX)
120123
string(JSON json_defines SET ${json_defines} "__linux__" "null")

0 commit comments

Comments
 (0)