From 733a24873f5626da155c2956882bcac2a95e0317 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 2 Nov 1999 15:27:38 +0000 Subject: Added #define for SEM_FAILED. --- cpukit/posix/include/rtems/posix/semaphore.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpukit/posix/include') diff --git a/cpukit/posix/include/rtems/posix/semaphore.h b/cpukit/posix/include/rtems/posix/semaphore.h index aaf0c4b898..da6b65c642 100644 --- a/cpukit/posix/include/rtems/posix/semaphore.h +++ b/cpukit/posix/include/rtems/posix/semaphore.h @@ -23,6 +23,8 @@ extern "C" { #include +#define SEM_FAILED (sem_t *) -1 + /* * Data Structure used to manage a POSIX semaphore */ -- cgit v1.2.3