projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37ff0f5
)
Do not export GC entrypoints outside standalone build (#25184)
author
Michal Strehovský
<MichalStrehovsky@users.noreply.github.com>
Sun, 16 Jun 2019 04:20:45 +0000
(06:20 +0200)
committer
Jan Kotas
<jkotas@microsoft.com>
Sun, 16 Jun 2019 04:20:45 +0000
(21:20 -0700)
It doesn't seem like something we would want to export outside standalone build.
src/gc/gcload.cpp
patch
|
blob
|
history
diff --git
a/src/gc/gcload.cpp
b/src/gc/gcload.cpp
index
358237a
..
4191833
100644
(file)
--- a/
src/gc/gcload.cpp
+++ b/
src/gc/gcload.cpp
@@
-13,6
+13,7
@@
#include "gcenv.h"
#include "gc.h"
+#ifdef BUILD_AS_STANDALONE
#ifndef DLLEXPORT
#ifdef _MSC_VER
#define DLLEXPORT __declspec(dllexport)
@@
-22,6
+23,9
@@
#endif // DLLEXPORT
#define GC_EXPORT extern "C" DLLEXPORT
+#else
+#define GC_EXPORT extern "C"
+#endif
// These symbols are defined in gc.cpp and populate the GcDacVars
// structure with the addresses of DAC variables within the GC.