diff options
author | Sinan Kaya <41809318+franksinankaya@users.noreply.github.com> | 2019-05-16 23:03:58 -0400 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2019-05-16 20:03:58 -0700 |
commit | ecb3b1b81c0b44e3f5c3825b9536b553ad1113fe (patch) | |
tree | 5727467d77ed1ec8bbf80d5b86c159b44ddd6800 /src/ToolBox | |
parent | bb87d0ae3b664f20fde126390301e62b452870a2 (diff) | |
download | coreclr-ecb3b1b81c0b44e3f5c3825b9536b553ad1113fe.tar.gz coreclr-ecb3b1b81c0b44e3f5c3825b9536b553ad1113fe.tar.bz2 coreclr-ecb3b1b81c0b44e3f5c3825b9536b553ad1113fe.zip |
compilation fixes (#24613)
Diffstat (limited to 'src/ToolBox')
3 files changed, 6 insertions, 3 deletions
diff --git a/src/ToolBox/superpmi/superpmi-shim-collector/superpmi-shim-collector.cpp b/src/ToolBox/superpmi/superpmi-shim-collector/superpmi-shim-collector.cpp index f937ce6edf..a2a01b14a7 100644 --- a/src/ToolBox/superpmi/superpmi-shim-collector/superpmi-shim-collector.cpp +++ b/src/ToolBox/superpmi/superpmi-shim-collector/superpmi-shim-collector.cpp @@ -82,10 +82,11 @@ void SetLogFilePath() } } +extern "C" #ifdef FEATURE_PAL DLLEXPORT // For Win32 PAL LoadLibrary emulation #endif - extern "C" BOOL + BOOL DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) { switch (ul_reason_for_call) diff --git a/src/ToolBox/superpmi/superpmi-shim-counter/superpmi-shim-counter.cpp b/src/ToolBox/superpmi/superpmi-shim-counter/superpmi-shim-counter.cpp index 57a4ad67ba..96996ee270 100644 --- a/src/ToolBox/superpmi/superpmi-shim-counter/superpmi-shim-counter.cpp +++ b/src/ToolBox/superpmi/superpmi-shim-counter/superpmi-shim-counter.cpp @@ -68,10 +68,11 @@ void SetLogFilePath() } } +extern "C" #ifdef FEATURE_PAL DLLEXPORT // For Win32 PAL LoadLibrary emulation #endif - extern "C" BOOL + BOOL DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) { switch (ul_reason_for_call) diff --git a/src/ToolBox/superpmi/superpmi-shim-simple/superpmi-shim-simple.cpp b/src/ToolBox/superpmi/superpmi-shim-simple/superpmi-shim-simple.cpp index 01341ccada..07663c8bce 100644 --- a/src/ToolBox/superpmi/superpmi-shim-simple/superpmi-shim-simple.cpp +++ b/src/ToolBox/superpmi/superpmi-shim-simple/superpmi-shim-simple.cpp @@ -58,10 +58,11 @@ void SetLogFilePath() } } +extern "C" #ifdef FEATURE_PAL DLLEXPORT // For Win32 PAL LoadLibrary emulation #endif - extern "C" BOOL + BOOL DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) { switch (ul_reason_for_call) |