mirror of
https://github.com/cea-sec/miasm
synced 2026-06-21 13:48:18 +00:00
a9768e3867
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.
11 lines
193 B
C
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
|