Skip to content

Commit

Permalink
Export CWP_CALL definition for win32.
Browse files Browse the repository at this point in the history
Change-Id: I33733009773edef03c77e7d45f2bc9695432e7f1
  • Loading branch information
qiaojbao committed Mar 19, 2020
1 parent b601c88 commit 00a156b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ target_compile_definitions(cwpack PRIVATE COMPILE_FOR_${TARGET_ARCHITECTURE_ENDI

if(WIN32)
if(TARGET_ARCHITECTURE_BITS EQUAL 32)
target_compile_definitions(cwpack PRIVATE CWP_CALL=__fastcall)
target_compile_definitions(cwpack PUBLIC CWP_CALL=__fastcall)
endif()
endif()

Expand Down

0 comments on commit 00a156b

Please sign in to comment.