This commit is contained in:
Ivan 2017-11-09 22:05:25 +03:00
parent c839e9dfd0
commit 1c1b645ebd
2 changed files with 4 additions and 4 deletions

View file

@ -19,9 +19,9 @@ struct Context;
extern "C" {
// Silence missing-variable-declaration clang warning
extern void *runtimecompile_modules_head;
extern void *dynamiccompile_modules_head;
void *runtimecompile_modules_head = nullptr;
void *dynamiccompile_modules_head = nullptr;
#ifdef _WIN32
__declspec(dllimport)
#endif
@ -30,6 +30,6 @@ __declspec(dllimport)
std::size_t contextSize);
void rtCompileProcessImpl(const Context *context, std::size_t contextSize) {
rtCompileProcessImplSo(runtimecompile_modules_head, context, contextSize);
rtCompileProcessImplSo(dynamiccompile_modules_head, context, contextSize);
}
}