Mercurial > hg > toybox
diff toys.h @ 712:a950dd960593
Cleanup i18n support (#ifdefectomy, move global init to process launch). Teach make.sh to emit "#define FLAG_x 0" for options inside disabled USE macros so we can unconditionally refer to them.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 26 Nov 2012 14:14:29 -0600 |
parents | cfdaead45479 |
children | dfeb3daad8f3 |
line wrap: on
line diff
--- a/toys.h Sun Nov 25 19:23:10 2012 -0600 +++ b/toys.h Mon Nov 26 14:14:29 2012 -0600 @@ -47,11 +47,11 @@ #include <utime.h> #include <utmpx.h> -#ifdef CFG_TOYBOX_I18N +// Internationalization support + #include <locale.h> #include <wchar.h> #include <wctype.h> -#endif #include "lib/lib.h" #include "toys/e2fs.h"