X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fcmpt.c;h=99cbbb8ab82e112c023fd94e6587350413eeb2b0;hp=9e78b21aadbbed7b7f73adadf166cfcd5b8f4c48;hb=e2241936d021f264c06f57f260f22960ae77ddea;hpb=c5ca8b715218d07db373c2ec4ffd54d2c5335919 diff --git a/src/cmpt.c b/src/cmpt.c index 9e78b21a..99cbbb8a 100644 --- a/src/cmpt.c +++ b/src/cmpt.c @@ -792,7 +792,9 @@ strptime_internal (rp, fmt, tm, decided) struct tm *tm; enum locale_status *decided; { +#ifdef _NL_CURRENT const char *rp_backup; +#endif int cnt; size_t val; int have_I, is_pm; @@ -832,8 +834,10 @@ strptime_internal (rp, fmt, tm, decided) start_over: #endif +#ifdef _NL_CURRENT /* Make back up of current processing pointer. */ rp_backup = rp; +#endif switch (*fmt++) {