diff --git a/Downloading XPC Service/SUXPCURLDownload.m b/Downloading XPC Service/SUXPCURLDownload.m index 9166ec7a..af651a5b 100644 --- a/Downloading XPC Service/SUXPCURLDownload.m +++ b/Downloading XPC Service/SUXPCURLDownload.m @@ -92,7 +92,7 @@ static NSString * const kSUFetchFolderName = @"fetch.XXXXXXXX"; { if ([_delegate respondsToSelector:@selector(download:didFailWithError:)]) { -#if DEBUG +#ifdef DEBUG const char *errMessage = xpc_dictionary_get_string(object, SUDownloadServiceErrorMessageKey); if (errMessage != NULL) { diff --git a/Installation XPC Service/install_service.m b/Installation XPC Service/install_service.m index d3ec1e4d..de2d0d1e 100644 --- a/Installation XPC Service/install_service.m +++ b/Installation XPC Service/install_service.m @@ -90,7 +90,7 @@ static void peer_event_handler(xpc_connection_t peer, xpc_object_t event) default: { -#if DEBUG +#ifdef DEBUG NSLog(@"!!! Unknown XPC service task."); #endif xpc_object_t reply = xpc_dictionary_create_reply(event);