diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-07-23 18:08:24 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-07-23 18:08:24 +0000 |
commit | 54c65c0e907ed242440a4ca5d6f13cef499a4223 (patch) | |
tree | 47c9f5b5767288cd2277864293f420905031a9f1 /rtems_init.c | |
parent | 2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | ada-examples-54c65c0e907ed242440a4ca5d6f13cef499a4223.tar.bz2 |
2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile, rtems_init.c: Add ada_from_c_task example.
Diffstat (limited to 'rtems_init.c')
-rw-r--r-- | rtems_init.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rtems_init.c b/rtems_init.c index 179f71e..f73e156 100644 --- a/rtems_init.c +++ b/rtems_init.c @@ -243,7 +243,10 @@ void *POSIX_Init( void *argument ) */ #define CONFIGURE_GNAT_RTEMS #define CONFIGURE_MAXIMUM_ADA_TASKS 20 -#define CONFIGURE_MAXIMUM_FAKE_ADA_TASKS 0 + +#if !defined(CONFIGURE_MAXIMUM_FAKE_ADA_TASKS) + #define CONFIGURE_MAXIMUM_FAKE_ADA_TASKS 0 +#endif /* Account for any extra task stack size */ #define CONFIGURE_MEMORY_OVERHEAD (GNAT_MAIN_STACKSPACE) |