patch-02 583 B

1234567891011121314151617181920212223
  1. --- lunar.c.orig Mon Aug 10 21:14:48 1992
  2. +++ lunar.c Tue Feb 4 01:04:18 1997
  3. @@ -60,6 +60,10 @@
  4. #define GanBM 4
  5. #define ZhiBM 14
  6. +#ifndef BITMAPFILE
  7. +#define BITMAPFILE "lunar.bitmap"
  8. +#endif
  9. +
  10. typedef struct {
  11. int year, month, day, hour, weekday;
  12. int leap; /* the lunar month is a leap month */
  13. @@ -124,7 +128,7 @@
  14. int showHZ = 0; /* output in hanzi */
  15. int showBM = 0; /* output in bitmap */
  16. -char BMfile[] = "lunar.bitmap"; /* bit map file */
  17. +char BMfile[] = BITMAPFILE; /* bit map file */
  18. char GZBM[NBM][BMRow][BMCol]; /* the bitmap array */
  19. char *progname;