diff options
author | James Le Cuirot | 2012-04-16 12:05:27 +0200 |
---|---|---|
committer | James Le Cuirot | 2012-04-16 12:13:13 +0200 |
commit | 69cabd7204e39c5e6055b6a53cf882b9f48f3c60 (patch) | |
tree | 8fee3bd76d0e2dcab123b264bfbe20f1c942b4c6 /misc-utils/cal.c | |
parent | fdisk: remove unused file (diff) | |
download | kernel-qcow2-util-linux-69cabd7204e39c5e6055b6a53cf882b9f48f3c60.tar.gz kernel-qcow2-util-linux-69cabd7204e39c5e6055b6a53cf882b9f48f3c60.tar.xz kernel-qcow2-util-linux-69cabd7204e39c5e6055b6a53cf882b9f48f3c60.zip |
cal: Fix building under uClibc.
Commit fbc333fec09394bf4e47707de08a65e8c0e9c288 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>
Diffstat (limited to 'misc-utils/cal.c')
-rw-r--r-- | misc-utils/cal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/cal.c b/misc-utils/cal.c index 918cbab09..2de7164cd 100644 --- a/misc-utils/cal.c +++ b/misc-utils/cal.c @@ -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 |