diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-13 00:25:05 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-13 00:25:05 +0000 |
commit | 3f719364f834d32d2a4b14445a5178ac7d1326ef (patch) | |
tree | 085c7b5d024a4b4dc59a8b2af52aee1c2b712516 /nuttx/include/semaphore.h | |
parent | 576104c91e6efaecbc22811bea94aacc5f91d74a (diff) | |
download | px4-nuttx-3f719364f834d32d2a4b14445a5178ac7d1326ef.tar.gz px4-nuttx-3f719364f834d32d2a4b14445a5178ac7d1326ef.tar.bz2 px4-nuttx-3f719364f834d32d2a4b14445a5178ac7d1326ef.zip |
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
Diffstat (limited to 'nuttx/include/semaphore.h')
-rw-r--r-- | nuttx/include/semaphore.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) */ |