summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-22 14:28:19 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-22 14:28:19 +0000
commit650526857e8abdfb262dde26ee27a6448e72f0c9 (patch)
tree7e16991046be1ece562eb19a785c4fe17d955373 /testsuites
parentUse PGM consistently. (diff)
downloadrtems-650526857e8abdfb262dde26ee27a6448e72f0c9.tar.bz2
Added ifndef around build_time macro so tmacros.h and pmacros.h
can be included from the same file.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/psxtests/include/pmacros.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/psxtests/include/pmacros.h b/testsuites/psxtests/include/pmacros.h
index 1f15dac9c0..38d0ee1904 100644
--- a/testsuites/psxtests/include/pmacros.h
+++ b/testsuites/psxtests/include/pmacros.h
@@ -38,6 +38,7 @@
#define TM_NOVEMBER 12
#define TM_DECEMBER 12
+#ifndef build_time
#define build_time( TM, WEEKDAY, MON, DAY, YR, HR, MIN, SEC ) \
{ (TM)->tm_year = YR; \
(TM)->tm_mon = MON; \
@@ -46,6 +47,7 @@
(TM)->tm_hour = HR; \
(TM)->tm_min = MIN; \
(TM)->tm_sec = SEC; }
+#endif
#define set_time( WEEKDAY, MON, DAY, YR, HR, MIN, SEC ) \
do { \