diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/blogc/main.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/blogc/main.c b/src/blogc/main.c index 1bdf2fe..e42a562 100644 --- a/src/blogc/main.c +++ b/src/blogc/main.c @@ -145,18 +145,13 @@ blogc_read_stdin_to_list(bc_slist_t *l) int main(int argc, char **argv) { -#ifdef MAKE_EMBEDDED - // this isn't going to work on windows, but -m can still be used there. - if (bc_str_ends_with(argv[0], "/blogc-make")) - return bm_main(argc, argv); - - bool embedded = false; -#endif - setlocale(LC_ALL, ""); int rv = 0; +#ifdef MAKE_EMBEDDED + bool embedded = false; +#endif bool debug = false; bool input_stdin = false; bool listing = false; |