Put epicsExportRegistrar in extern C; otherwise it won't link on Windows

This commit is contained in:
Mark Rivers
2017-07-03 13:25:53 -05:00
parent 4125a39c40
commit 7324d917dc
+2
View File
@@ -1380,6 +1380,8 @@ void oms58Registrar(void)
iocshRegister(&oms58FuncDef, &oms58CallFunc);
}
extern "C"{
epicsExportRegistrar(oms58Registrar);
}
/*---------------------------------------------------------------------*/