From 1e14f7d7b60898b7ecd5626b93c15bf65ecd397d Mon Sep 17 00:00:00 2001 From: Dmytro Tretiakov Date: Mon, 5 Aug 2013 17:01:31 +0300 Subject: [PATCH] Corrected using of macro. --- Downloading XPC Service/SUXPCURLDownload.m | 2 +- Installation XPC Service/install_service.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);