X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/554646115f02bc4f6749b4654f3e1b410ac46a40..a876619d0c610eaee6aa5e1a105106f265b2c084:/main.m?ds=inline diff --git a/main.m b/main.m index ec59c4e..8c15d17 100755 --- a/main.m +++ b/main.m @@ -7,8 +7,14 @@ // // Poink. #import +#import + +static const int (*ptp)(int,int,caddr_t,int) = ptrace; int main(int argc, const char *argv[]) { +#ifdef MT_RELEASE + ptp(PT_DENY_ATTACH,getpid(),NULL,0); +#endif return NSApplicationMain(argc, argv); }