summaryrefslogtreecommitdiffstats
path: root/c/src/tests/support/include/tmacros.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/tests/support/include/tmacros.h')
-rw-r--r--c/src/tests/support/include/tmacros.h2
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 ) - \