X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/a2b152349d0ba0669d63d9e39ffef31fca9ba389..9185d5ef70289d99e212f2dd04457b05716e222e:/Console.cpp diff --git a/Console.cpp b/Console.cpp index dfc5c8c..503a3e8 100644 --- a/Console.cpp +++ b/Console.cpp @@ -37,8 +37,6 @@ */ /* }}} */ -#define _GNU_SOURCE - #include "cycript.hpp" #include @@ -419,8 +417,10 @@ int main(int argc, char *argv[]) { if (optind == argc) script = NULL; else { +#ifdef CY_EXECUTE // XXX: const_cast?! wtf gcc :( CYSetArgs(argc - optind - 1, const_cast(argv + optind + 1)); +#endif script = argv[optind]; if (strcmp(script, "-") == 0) script = NULL;