From 650526857e8abdfb262dde26ee27a6448e72f0c9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 22 Nov 1999 14:28:19 +0000 Subject: Added ifndef around build_time macro so tmacros.h and pmacros.h can be included from the same file. --- testsuites/psxtests/include/pmacros.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testsuites') 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 { \ -- cgit v1.2.3