forked from epics_driver_modules/motorBase
Put epicsExportRegistrar in extern C; otherwise it won't link on Windows
This commit is contained in:
@@ -1380,6 +1380,8 @@ void oms58Registrar(void)
|
||||
iocshRegister(&oms58FuncDef, &oms58CallFunc);
|
||||
}
|
||||
|
||||
extern "C"{
|
||||
epicsExportRegistrar(oms58Registrar);
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user