diff --git a/asyn/vxi11/osiRpc.h b/asyn/vxi11/osiRpc.h index 9da2c3f46..7916f8f53 100644 --- a/asyn/vxi11/osiRpc.h +++ b/asyn/vxi11/osiRpc.h @@ -22,7 +22,11 @@ #ifdef __rtems__ #include #include +#ifdef RTEMS_LEGACY_STACK #define rpcTaskInit rtems_rpc_task_init +#else +#define rpcTaskInit() 0 +#endif #endif #ifdef __APPLE__