diff --git a/sim/compiled_sim.c b/sim/compiled_sim.c index dca3c8a..a0436c5 100644 --- a/sim/compiled_sim.c +++ b/sim/compiled_sim.c @@ -28,7 +28,7 @@ struct Net { }; #define FAST static inline -#define DLL __declspec(dllexport) +#define DLL __attribute__((visibility("default"))) #define GATEFUNCTYPE typedef void(*GateFunc)(const struct Gate* const); diff --git a/sim/compiled_sim.dll b/sim/compiled_sim.dll index a43b19b..debc1a5 100644 Binary files a/sim/compiled_sim.dll and b/sim/compiled_sim.dll differ