diff options
author | Joel Sherrill <joel@rtems.org> | 2019-11-08 07:52:49 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-08-20 15:58:13 -0500 |
commit | 4865498b5aaae1dfea91c3614f45a7d267ed448e (patch) | |
tree | b7ed0f4176d8c638227a2809d8d19de99dcf7359 /misc | |
parent | lvgl/wscript: Add libpath to search for required libraries (diff) | |
download | rtems-examples-4865498b5aaae1dfea91c3614f45a7d267ed448e.tar.bz2 |
Conditionalize CONFIGURE_TERMIOS_DISABLE so the examples span versions
Diffstat (limited to 'misc')
-rw-r--r-- | misc/minimum/test.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/minimum/test.c b/misc/minimum/test.c index 49176f6..729ed3a 100644 --- a/misc/minimum/test.c +++ b/misc/minimum/test.c @@ -90,6 +90,17 @@ void *Init( #define CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION /* + * This parameter was eliminated after 4.11. + * + * In 4.11 and earlier, it eliminated termios from being included + * at all from a program. + */ +#if (__RTEMS_MAJOR__ < 5) +#define CONFIGURE_TERMIOS_DISABLED +#endif + + +/* * If you are debugging confdefs.h, define this */ /* #define CONFIGURE_CONFDEFS_DEBUG */ |