From 3f719364f834d32d2a4b14445a5178ac7d1326ef Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 13 Mar 2009 00:25:05 +0000 Subject: Add test for CONFIG_SEM_PREALLOCHOLDERS > 0 git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1596 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/include/semaphore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nuttx/include/semaphore.h') diff --git a/nuttx/include/semaphore.h b/nuttx/include/semaphore.h index 8061d3d5d..9f38667c1 100644 --- a/nuttx/include/semaphore.h +++ b/nuttx/include/semaphore.h @@ -63,7 +63,7 @@ extern "C" { #ifdef CONFIG_PRIORITY_INHERITANCE struct semholder_s { -#if !defined(CONFIG_SEM_PREALLOCHOLDERS) || CONFIG_SEM_PREALLOCHOLDERS > 0 +#if CONFIG_SEM_PREALLOCHOLDERS > 0 struct semholder_s *flink; /* Implements singly linked list */ #endif void *holder; /* Holder TCB (actual type is _TCB) */ -- cgit v1.2.3