mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-09-07 04:53:15 +02:00
In a shared library build, the option -fvisibility=hidden may be set
when compiling making entry point Cosim_setup inaccessible. The problem was reported at https://github.com/iic-jku/IIC-OSIC-TOOLS/issues/287, but not reproduced.
This commit is contained in:
committed by
Holger Vogt
parent
9230554e26
commit
2c2bc4f435
@@ -268,6 +268,9 @@ static void *run_vvp(void *arg)
|
||||
|
||||
/* Entry point to this shared library. Called by d_cosim. */
|
||||
|
||||
#if !defined(__MINGW32__) && !defined(_MSC_VER)
|
||||
__attribute__((visibility("default")))
|
||||
#endif
|
||||
void Cosim_setup(struct co_info *pinfo)
|
||||
{
|
||||
char *file;
|
||||
|
||||
Reference in New Issue
Block a user