diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-01-07 15:23:38 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-01-07 15:23:38 +0000 |
commit | 1eebe078ffbb85c3fb8a14db4d241502b27145bf (patch) | |
tree | ccfcc15f00554d709c0dea804e5fd8033320a851 /os/kernel/include/threads.h | |
parent | c6a35e2186b66ef014f9a0f456d30b564d02e0fe (diff) | |
download | ChibiOS-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.h | 7 |
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. * |