From 3219f837f162088ad89b2102d1fcf71b293c14fc Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 8 Feb 2013 22:53:14 +0000 Subject: Fix some problems with the vfork() test on the STM32F3Discovery git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5628 42af7a65-404d-4744-a932-0658087f49c3 --- apps/examples/ostest/ostest.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/examples/ostest/ostest.h') diff --git a/apps/examples/ostest/ostest.h b/apps/examples/ostest/ostest.h index 9c6bb082b..d5016540b 100644 --- a/apps/examples/ostest/ostest.h +++ b/apps/examples/ostest/ostest.h @@ -175,7 +175,8 @@ void priority_inheritance(void); /* vfork.c ******************************************************************/ -#ifdef CONFIG_ARCH_HAVE_VFORK +#if defined(CONFIG_ARCH_HAVE_VFORK) && defined(CONFIG_SCHED_WAITPID) && \ + !defined(CONFIG_DISABLE_SIGNALS) int vfork_test(void); #endif -- cgit v1.2.3