diff options
-rw-r--r-- | c/src/tests/support/include/tmacros.h | 2 | ||||
-rw-r--r-- | testsuites/support/include/tmacros.h | 2 |
2 files changed, 4 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 ) - \ diff --git a/testsuites/support/include/tmacros.h b/testsuites/support/include/tmacros.h index 0f161b5236..a089ee2c46 100644 --- a/testsuites/support/include/tmacros.h +++ b/testsuites/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 ) - \ |