Skip to content

Commit

Permalink
Fix missing exports on x86 build
Browse files Browse the repository at this point in the history
  • Loading branch information
prsyahmi committed Sep 26, 2022
1 parent 73be1b1 commit 1440d98
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wic_heic/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
#include "HeicException.h"

#if defined(X86)
#pragma comment (linker, "/export:DllCanUnloadNow=_DllCanUnloadNow@0,PRIVATE")
#pragma comment (linker, "/export:DllGetClassObject=_DllGetClassObject@12,PRIVATE")
#pragma comment (linker, "/export:DllRegisterServer=_DllRegisterServer@0,PRIVATE")
#pragma comment (linker, "/export:DllUnregisterServer=_DllUnregisterServer@0,PRIVATE")
#else
#pragma comment (linker, "/export:DllCanUnloadNow,PRIVATE")
#pragma comment (linker, "/export:DllGetClassObject,PRIVATE")
Expand Down

0 comments on commit 1440d98

Please sign in to comment.