cal: Fix building under uClibc.

Commit fbc333fec0 broke building under uClibc because HAVE_DECL macros are set to 0, not undefined.

Signed-off-by: James Le Cuirot <chewi@aura-online.co.uk>
This commit is contained in:
James Le Cuirot 2012-04-16 11:05:27 +01:00
parent cd3d55ef20
commit 69cabd7204
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ main(int argc, char **argv) {
* the locale database, which can be overridden with the
* -s (Sunday) or -m (Monday) options.
*/
#ifdef HAVE_DECL__NL_TIME_WEEK_1STDAY
#if HAVE_DECL__NL_TIME_WEEK_1STDAY
/*
* You need to use 2 locale variables to get the first day of the week.
* This is needed to support first_weekday=2 and first_workday=1 for