From c09454282bf05f46d967af5ed5fa9897cccca58a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 16 Nov 1999 16:07:17 +0000 Subject: Only check for System V IPC if multiprocessing is enabled. The unix port only uses System V IPC for shared memory and semaphores to communicate between nodes in a multiprocessor configuration. If you disable multiprocessing, then this code should be unused. Thus systems like Cygwin which are POSIX but do not support System V IPC should not work. --- c/src/exec/score/cpu/unix/rtems/score/cpu.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'c/src/exec/score/cpu/unix/rtems/score/cpu.h') diff --git a/c/src/exec/score/cpu/unix/rtems/score/cpu.h b/c/src/exec/score/cpu/unix/rtems/score/cpu.h index 96c7522b53..75eb07af74 100644 --- a/c/src/exec/score/cpu/unix/rtems/score/cpu.h +++ b/c/src/exec/score/cpu/unix/rtems/score/cpu.h @@ -1061,6 +1061,8 @@ void _CPU_Start_clock( void _CPU_Stop_clock( void ); +#if defined(RTEMS_MULTIPROCESSING) + void _CPU_SHM_Init( unsigned32 maximum_nodes, boolean is_master_node, @@ -1084,6 +1086,7 @@ void _CPU_SHM_Lock( void _CPU_SHM_Unlock( int semaphore ); +#endif #ifdef __cplusplus } -- cgit v1.2.3