Skip to content

Commit d23c15a

Browse files
committed
Do not define AcceptPIDFromInferior when it will not be used
1 parent 8513ff0 commit d23c15a

File tree

1 file changed

+2
-2
lines changed
  • lldb/source/Host/macosx/objcxx

1 file changed

+2
-2
lines changed

lldb/source/Host/macosx/objcxx/Host.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@
136136
return false;
137137
}
138138

139+
#if !NO_XPC_SERVICES
140+
139141
static void *AcceptPIDFromInferior(void *arg) {
140142
const char *connect_url = (const char *)arg;
141143
ConnectionFileDescriptor file_conn;
@@ -154,8 +156,6 @@
154156
return NULL;
155157
}
156158

157-
#if !NO_XPC_SERVICES
158-
159159
const char *applscript_in_new_tty = "tell application \"Terminal\"\n"
160160
" activate\n"
161161
" do script \"/bin/bash -c '%s';exit\"\n"

0 commit comments

Comments
 (0)