Skip to content

Commit 8da16a0

Browse files
author
Mattt Thompson
committed
Merge pull request AFNetworking#181 from jparise/xml-request-queue
xml_request_operation_processing_queue() is Mac-only.
2 parents cc49cd8 + 2fc6d99 commit 8da16a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

AFNetworking/AFXMLRequestOperation.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
#include <Availability.h>
2626

27+
#if __MAC_OS_X_VERSION_MIN_REQUIRED
2728
static dispatch_queue_t af_xml_request_operation_processing_queue;
2829
static dispatch_queue_t xml_request_operation_processing_queue() {
2930
if (af_xml_request_operation_processing_queue == NULL) {
@@ -32,6 +33,7 @@ static dispatch_queue_t xml_request_operation_processing_queue() {
3233

3334
return af_xml_request_operation_processing_queue;
3435
}
36+
#endif
3537

3638
@interface AFXMLRequestOperation ()
3739
@property (readwrite, nonatomic, retain) NSXMLParser *responseXMLParser;

0 commit comments

Comments
 (0)