--- rpl/src/interface_cas.cpp 2011/09/16 16:37:08 1.16 +++ rpl/src/interface_cas.cpp 2011/09/21 10:35:51 1.18 @@ -1,6 +1,6 @@ /* ================================================================================ - RPL/2 (R) version 4.1.3 + RPL/2 (R) version 4.1.4 Copyright (C) 1989-2011 Dr. BERTRAND Joël This file is part of RPL/2. @@ -21,6 +21,15 @@ #ifdef RPLCAS + +// Giac inclut et définit sem_t. Or l'émulation +// des IPCS POSIX requiert une redéfinition de sem_t. + +# ifdef IPCS_SYSV +// NetBSD : _SEMAPHORE_H_ +# define _SEMAPHORE_H_ +# endif + # include "giac.h" # undef PACKAGE