From: Jay Freeman (saurik) Date: Thu, 25 Aug 2016 06:39:58 +0000 (-0700) Subject: CYInjectRemote should also be in #ifdef CY_ATTACH. X-Git-Tag: v0.9.594~2 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/1fe330114b9b59b11dea95b8f941f478eae8f020 CYInjectRemote should also be in #ifdef CY_ATTACH. --- diff --git a/Console.cpp b/Console.cpp index c3ebd77..62dadcb 100644 --- a/Console.cpp +++ b/Console.cpp @@ -343,6 +343,7 @@ class CYSocketRemote : void InjectLibrary(pid_t, std::ostream &stream, int, const char *const []); +#ifdef CY_ATTACH class CYInjectRemote : public CYRemote { @@ -366,6 +367,7 @@ class CYInjectRemote : return CYUTF8String(strdup(json.c_str()), json.size()); } }; +#endif static std::ostream *out_;