Skip to content

Commit

Permalink
Add new defines for python bindings on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Feb 2, 2024
1 parent a4db960 commit 2197587
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/python/GenerateConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ endif()
# OS
if(WIN32)
string(JSON json_defines SET ${json_defines} "_WIN32" "null")
string(JSON json_defines SET ${json_defines} "DWORD" "\"uint64_t\"")
string(JSON json_defines SET ${json_defines} "WINAPI" "\"__stdcall\"")
string(JSON json_defines SET ${json_defines} "LPVOID" "\"void*\"")
endif()
if(UNIX)
string(JSON json_defines SET ${json_defines} "__linux__" "null")
Expand Down

0 comments on commit 2197587

Please sign in to comment.