diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-22 19:02:35 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-22 19:02:35 +0000 |
commit | b8cda5a65b0ac0d4a47255b4b2838ceaddd03bb2 (patch) | |
tree | a8662380063b86be630bc6b2b01489446d88e361 /c/src/tests/support | |
parent | tmitrontests directory listed twice. (diff) | |
download | rtems-b8cda5a65b0ac0d4a47255b4b2838ceaddd03bb2.tar.bz2 |
Added ifndef around build_time so pmacros.h and tmacros.h could be included
by the same application.
Diffstat (limited to 'c/src/tests/support')
-rw-r--r-- | c/src/tests/support/include/tmacros.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/tests/support/include/tmacros.h b/c/src/tests/support/include/tmacros.h index 0f161b5236..a089ee2c46 100644 --- a/c/src/tests/support/include/tmacros.h +++ b/c/src/tests/support/include/tmacros.h @@ -134,6 +134,7 @@ extern "C" { putchar( '\n' ); \ } +#ifndef build_time #define build_time( TB, MON, DAY, YR, HR, MIN, SEC, TK ) \ { (TB)->year = YR; \ (TB)->month = MON; \ @@ -142,6 +143,7 @@ extern "C" { (TB)->minute = MIN; \ (TB)->second = SEC; \ (TB)->ticks = TK; } +#endif #define task_number( tid ) \ ( rtems_get_index( tid ) - \ |