Mercurial > hg > toybox
comparison 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 |
comparison
equal
deleted
inserted
replaced
711:dcc6136e6659 | 712:a950dd960593 |
---|---|
45 #include <time.h> | 45 #include <time.h> |
46 #include <unistd.h> | 46 #include <unistd.h> |
47 #include <utime.h> | 47 #include <utime.h> |
48 #include <utmpx.h> | 48 #include <utmpx.h> |
49 | 49 |
50 #ifdef CFG_TOYBOX_I18N | 50 // Internationalization support |
51 | |
51 #include <locale.h> | 52 #include <locale.h> |
52 #include <wchar.h> | 53 #include <wchar.h> |
53 #include <wctype.h> | 54 #include <wctype.h> |
54 #endif | |
55 | 55 |
56 #include "lib/lib.h" | 56 #include "lib/lib.h" |
57 #include "toys/e2fs.h" | 57 #include "toys/e2fs.h" |
58 | 58 |
59 // Get list of function prototypes for all enabled command_main() functions. | 59 // Get list of function prototypes for all enabled command_main() functions. |