summaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2019-02-10 13:57:11 -0800
committerGitHub <noreply@github.com>2019-02-10 13:57:11 -0800
commit70cf6d489032f42c9f643d59825c994c0402a3f7 (patch)
tree717a4ae2a08d9a489a44de806053daf78a36ae7e /src/debug
parentbe1b5db77a593fdea460ef7ab90e63b3817e7853 (diff)
downloadcoreclr-70cf6d489032f42c9f643d59825c994c0402a3f7.tar.gz
coreclr-70cf6d489032f42c9f643d59825c994c0402a3f7.tar.bz2
coreclr-70cf6d489032f42c9f643d59825c994c0402a3f7.zip
Cleanup DLL exports (#22500)
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/daccess/daccess.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/debug/daccess/daccess.cpp b/src/debug/daccess/daccess.cpp
index f70a5623f4..2a0f2eb4ce 100644
--- a/src/debug/daccess/daccess.cpp
+++ b/src/debug/daccess/daccess.cpp
@@ -40,9 +40,10 @@ HINSTANCE g_thisModule;
extern VOID STDMETHODCALLTYPE TLS_FreeMasterSlotIndex();
-DLLEXPORT
-EXTERN_C BOOL WINAPI
-DllMain(HANDLE instance, DWORD reason, LPVOID reserved)
+#if FEATURE_PAL
+DLLEXPORT // For Win32 PAL LoadLibrary emulation
+#endif
+EXTERN_C BOOL WINAPI DllMain(HANDLE instance, DWORD reason, LPVOID reserved)
{
static bool g_procInitialized = false;