Commit d23c15a6 authored by Vedant Kumar's avatar Vedant Kumar
Browse files

Do not define AcceptPIDFromInferior when it will not be used

parent 8513ff05
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -136,6 +136,8 @@ bool Host::ResolveExecutableInBundle(FileSpec &file) {
  return false;
}

#if !NO_XPC_SERVICES

static void *AcceptPIDFromInferior(void *arg) {
  const char *connect_url = (const char *)arg;
  ConnectionFileDescriptor file_conn;
@@ -154,8 +156,6 @@ static void *AcceptPIDFromInferior(void *arg) {
  return NULL;
}

#if !NO_XPC_SERVICES

const char *applscript_in_new_tty = "tell application \"Terminal\"\n"
                                    "   activate\n"
                                    "	do script \"/bin/bash -c '%s';exit\"\n"