]> git.saurik.com Git - cycript.git/commitdiff
CYInjectRemote should also be in #ifdef CY_ATTACH.
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 25 Aug 2016 06:39:58 +0000 (23:39 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 25 Aug 2016 06:39:58 +0000 (23:39 -0700)
Console.cpp

index c3ebd77da5dde602de3a0a7b418142b0d70bb194..62dadcbbb60b841d56aa8eed85ba25a0396307e2 100644 (file)
@@ -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_;