aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/threads.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-01-07 15:23:38 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-01-07 15:23:38 +0000
commit1eebe078ffbb85c3fb8a14db4d241502b27145bf (patch)
treeccfcc15f00554d709c0dea804e5fd8033320a851 /os/kernel/include/threads.h
parentc6a35e2186b66ef014f9a0f456d30b564d02e0fe (diff)
downloadChibiOS-1eebe078ffbb85c3fb8a14db4d241502b27145bf.tar.gz
ChibiOS-1eebe078ffbb85c3fb8a14db4d241502b27145bf.tar.bz2
ChibiOS-1eebe078ffbb85c3fb8a14db4d241502b27145bf.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1509 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/include/threads.h')
-rw-r--r--os/kernel/include/threads.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/os/kernel/include/threads.h b/os/kernel/include/threads.h
index edcf1f42a..1468b0f5a 100644
--- a/os/kernel/include/threads.h
+++ b/os/kernel/include/threads.h
@@ -27,6 +27,13 @@
#ifndef _THREADS_H_
#define _THREADS_H_
+/*
+ * Module dependencies check.
+ */
+#if CH_USE_DYNAMIC && !CH_USE_WAITEXIT
+#error "CH_USE_DYNAMIC requires CH_USE_WAITEXIT"
+#endif
+
/**
* @brief Structure representing a thread.
*