/* Filename: MRDates.h * Various definitions used to support the MRDates package. * * Important note: * If the preprocessor symbol MRDATES is undefined, certain * useful structures will be declared for use by the module * including this file. */ #include typedef struct { short year,month,day,hour,minute,second; } UnpackedDS; #ifndef MRDATES /* This is not MRDates.c? */ extern char *daynames[7]; /* day name strings, [0] = "Sunday" */ extern USHORT monthdays[12];/* Number of days preceding each month, * requires diddling for leap years. */ extern char *monthnames[12];/* [0] = January */ #endif