Files
Adrien Guinet a9768e3867 Include missing functions from llvm's compiler-rt into Jitllvm
Under Windows, we also need to compile these with clang (because MSVCRT doesn't seem to
have proper uint128_t support), so automatically check if clang is
installed (through the registry) and force distutils to use it (with a
not so nice hack).

Last but not least, this only works for 64 bit systems, so disable the mn_div
test if this is not the case.
2020-05-24 12:07:32 +02:00

11 lines
193 B
C

#ifndef MIASM_RT_EXPORT_H
#define MIASM_RT_EXPORT_H
#ifdef _WIN32
#define _MIASM_EXPORT __declspec(dllexport)
#else
#define _MIASM_EXPORT __attribute__((visibility("default")))
#endif
#endif