diff --git a/andorApp/src/shamrockDummy.cpp b/andorApp/src/shamrockDummy.cpp new file mode 100644 index 0000000..e713b77 --- /dev/null +++ b/andorApp/src/shamrockDummy.cpp @@ -0,0 +1,32 @@ +// Dummy file for Linux + +#include +#include +#include + +static const iocshArg configArg0 = {"Port name", iocshArgString}; +static const iocshArg configArg1 = {"shamrockId", iocshArgInt}; +static const iocshArg configArg2 = {"iniPath", iocshArgString}; +static const iocshArg configArg3 = {"priority", iocshArgInt}; +static const iocshArg configArg4 = {"stackSize", iocshArgInt}; +static const iocshArg * const configArgs[] = {&configArg0, + &configArg1, + &configArg2, + &configArg3, + &configArg4}; +static const iocshFuncDef configShamrock = {"shamrockConfig", 5, configArgs}; +static void configCallFunc(const iocshArgBuf *args) +{ + printf("ERROR: shamrockConfig is not supported on Linux\n"); +} + + +static void shamrockRegister(void) +{ + iocshRegister(&configShamrock, configCallFunc); +} + +extern "C" { +epicsExportRegistrar(shamrockRegister); +} +