X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fdtimep.c;h=68616b846116ba94d22f9e47527d613f2dfeaf30;hp=159c901b63afded79c5ffd4e73775adff0fed3c2;hb=da12435096e47ec1d362215141fc8b21f24e5e01;hpb=0d6e062b466d0ef7c84b56258612cd87044917f6 diff --git a/sbr/dtimep.c b/sbr/dtimep.c index 159c901..68616b8 100644 --- a/sbr/dtimep.c +++ b/sbr/dtimep.c @@ -945,7 +945,7 @@ static int day_map[] = { #define SKIPTOSP() { while ( !isspace(*cp++) ) ; \ --cp; } -#ifdef DSTXXX +#ifdef ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST # ifdef TIME_WITH_SYS_TIME # include # include @@ -971,7 +971,7 @@ zonehack (struct tws *tw) tw->tw_zone -= 60; } } -#endif /* DSTXXX */ +#endif /* ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST */ /* The year can either be 2 digits, or 4. However, after Y2K, we found that some MUA were reporting the year 100, hence the middle term here. yyterminate() resolves the actual @@ -1386,9 +1386,9 @@ YY_RULE_SETUP INIT(); SKIPTOD(); SETZONE(atoi(cp)); -#ifdef DSTXXX +#ifdef ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST zonehack (&tw); -#endif /* DSTXXX */ +#endif /* ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST */ } YY_BREAK case 13: @@ -1398,9 +1398,9 @@ YY_RULE_SETUP INIT(); SKIPTOD(); SETZONE(-atoi(cp)); -#ifdef DSTXXX +#ifdef ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST zonehack (&tw); -#endif /* DSTXXX */ +#endif /* ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST */ } YY_BREAK case 14: