summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/optman/no-mp.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/rtems/optman/no-mp.c')
-rw-r--r--c/src/exec/rtems/optman/no-mp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/c/src/exec/rtems/optman/no-mp.c b/c/src/exec/rtems/optman/no-mp.c
index 71c38826f3..41fa81e597 100644
--- a/c/src/exec/rtems/optman/no-mp.c
+++ b/c/src/exec/rtems/optman/no-mp.c
@@ -14,6 +14,9 @@
*/
#include <rtems/system.h>
+#if !defined(RTEMS_MULTIPROCESSING)
+char rtems_no_multiprocessing;
+#else
#include <rtems/rtems/status.h>
#include <rtems/rtems/mp.h>
#include <rtems/score/cpu.h>
@@ -197,5 +200,5 @@ MPCI_Internal_packet *_MPCI_Internal_packets_Get_packet ( void )
);
return NULL;
}
-
+#endif
/* end of file */