don't display an error when not using langinfo.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30843 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2026,7 +2026,11 @@ decode_switches (int argc, char **argv)
|
|||||||
/* Note we leave %5b etc. alone so user widths/flags are honored. */
|
/* Note we leave %5b etc. alone so user widths/flags are honored. */
|
||||||
if (strstr (long_time_format[0],"%b") || strstr (long_time_format[1],"%b"))
|
if (strstr (long_time_format[0],"%b") || strstr (long_time_format[1],"%b"))
|
||||||
if (!abmon_init ())
|
if (!abmon_init ())
|
||||||
|
#ifndef __HAIKU__
|
||||||
error (0, 0, _("error initializing month strings"));
|
error (0, 0, _("error initializing month strings"));
|
||||||
|
#else
|
||||||
|
;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
return optind;
|
return optind;
|
||||||
|
|||||||
Reference in New Issue
Block a user