/// This is declared for use by the runtime, but should be implemented in the
/// executor or provided by a definition added to the JIT before the runtime
/// is loaded.
-extern "C" __orc_rt_Opaque __orc_rt_jit_dispatch_ctx WEAK_IMPORT;
+extern "C" __orc_rt_Opaque __orc_rt_jit_dispatch_ctx ORC_RT_WEAK_IMPORT;
/// For dispatching calls to the JIT object.
///
/// is loaded.
extern "C" __orc_rt_CWrapperFunctionResult
__orc_rt_jit_dispatch(__orc_rt_Opaque *DispatchCtx, const void *FnTag,
- const char *Data, size_t Size) WEAK_IMPORT;
+ const char *Data, size_t Size) ORC_RT_WEAK_IMPORT;
#endif // ORC_RT_COMMON_H
#endif
#ifdef __APPLE__
-#define WEAK_IMPORT __attribute__((weak_import))
+#define ORC_RT_WEAK_IMPORT __attribute__((weak_import))
#else
-#define WEAK_IMPORT __attribute__((weak))
+#define ORC_RT_WEAK_IMPORT __attribute__((weak))
#endif
#endif // ORC_RT_COMPILER_H