forked from epics_driver_modules/motorBase
Put epicsExportRegistrar in extern C; otherwise it won't link on Windows
This commit is contained in:
1 parent
4125a39c40
commit
7324d917dc
1 file changed
+2
@@ -1380,6 +1380,8 @@ void oms58Registrar(void)
|
||||
iocshRegister(&oms58FuncDef, &oms58CallFunc);
|
||||
}
|
||||
|
||||
extern "C"{
|
||||
epicsExportRegistrar(oms58Registrar);
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------*/
|
||||
Reference in new issue
Block a user