summaryrefslogtreecommitdiffstats
path: root/testsuites/support
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-22 19:02:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-22 19:02:35 +0000
commitb8cda5a65b0ac0d4a47255b4b2838ceaddd03bb2 (patch)
treea8662380063b86be630bc6b2b01489446d88e361 /testsuites/support
parenttmitrontests directory listed twice. (diff)
downloadrtems-b8cda5a65b0ac0d4a47255b4b2838ceaddd03bb2.tar.bz2
Added ifndef around build_time so pmacros.h and tmacros.h could be included
by the same application.
Diffstat (limited to 'testsuites/support')
-rw-r--r--testsuites/support/include/tmacros.h2
1 files changed, 2 insertions, 0 deletions
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 ) - \