Changeset 65052685 in rtems


Ignore:
Timestamp:
Nov 22, 1999, 2:28:19 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
28cc172
Parents:
6b910bd
Message:

Added ifndef around build_time macro so tmacros.h and pmacros.h
can be included from the same file.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/psxtests/include/pmacros.h

    r6b910bd r65052685  
    3939#define TM_DECEMBER   12
    4040 
     41#ifndef build_time
    4142#define build_time( TM, WEEKDAY, MON, DAY, YR, HR, MIN, SEC ) \
    4243  { (TM)->tm_year = YR;  \
     
    4748    (TM)->tm_min  = MIN; \
    4849    (TM)->tm_sec  = SEC; }
     50#endif
    4951
    5052#define set_time( WEEKDAY, MON, DAY, YR, HR, MIN, SEC ) \
  • c/src/tests/psxtests/support/include/pmacros.h

    r6b910bd r65052685  
    3939#define TM_DECEMBER   12
    4040 
     41#ifndef build_time
    4142#define build_time( TM, WEEKDAY, MON, DAY, YR, HR, MIN, SEC ) \
    4243  { (TM)->tm_year = YR;  \
     
    4748    (TM)->tm_min  = MIN; \
    4849    (TM)->tm_sec  = SEC; }
     50#endif
    4951
    5052#define set_time( WEEKDAY, MON, DAY, YR, HR, MIN, SEC ) \
  • testsuites/psxtests/include/pmacros.h

    r6b910bd r65052685  
    3939#define TM_DECEMBER   12
    4040 
     41#ifndef build_time
    4142#define build_time( TM, WEEKDAY, MON, DAY, YR, HR, MIN, SEC ) \
    4243  { (TM)->tm_year = YR;  \
     
    4748    (TM)->tm_min  = MIN; \
    4849    (TM)->tm_sec  = SEC; }
     50#endif
    4951
    5052#define set_time( WEEKDAY, MON, DAY, YR, HR, MIN, SEC ) \
Note: See TracChangeset for help on using the changeset viewer.