From b8cda5a65b0ac0d4a47255b4b2838ceaddd03bb2 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 22 Nov 1999 19:02:35 +0000 Subject: Added ifndef around build_time so pmacros.h and tmacros.h could be included by the same application. --- c/src/tests/support/include/tmacros.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'c/src/tests/support') 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 ) - \ -- cgit v1.2.3