8000 cal: Fix building under uClibc. by chewi · Pull Request #7 · util-linux/util-linux · GitHub
[go: up one dir, main page]

Skip to content

cal: Fix building under uClibc. #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 16, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
cal: Fix building under uClibc.
Commit fbc333f 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>
  • Loading branch information
chewi committed Apr 16, 2012
commit 69cabd7204e39c5e6055b6a53cf882b9f48f3c60
2 changes: 1 addition & 1 deletion misc-utils/cal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
0