aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/lib')
-rw-r--r--src/core/lib/iomgr/error_apple.cc4
-rw-r--r--src/core/lib/iomgr/error_apple.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/lib/iomgr/error_apple.cc b/src/core/lib/iomgr/error_apple.cc
index e8f98bf0ba..42ab6ad4b8 100644
--- a/src/core/lib/iomgr/error_apple.cc
+++ b/src/core/lib/iomgr/error_apple.cc
@@ -18,7 +18,7 @@
#include <grpc/support/port_platform.h>
-#ifdef GPR_APPLE
+#ifdef GRPC_CFSTREAM
#include <CoreFoundation/CoreFoundation.h>
#include <grpc/support/alloc.h>
@@ -46,4 +46,4 @@ grpc_error* grpc_error_create_from_cferror(const char* file, int line, void* arg
gpr_free(error_msg);
return return_error;
}
-#endif // GPR_APPLE
+#endif /* GRPC_CFSTREAM */
diff --git a/src/core/lib/iomgr/error_apple.h b/src/core/lib/iomgr/error_apple.h
index f266192239..276ec77d35 100644
--- a/src/core/lib/iomgr/error_apple.h
+++ b/src/core/lib/iomgr/error_apple.h
@@ -19,13 +19,13 @@
#ifndef GRPC_CORE_LIB_IOMGR_ERROR_APPLE_H
#define GRPC_CORE_LIB_IOMGR_ERROR_APPLE_H
-#ifdef GPR_APPLE
+#ifdef GRPC_CFSTREAM
// Create an error from Apple Core Foundation CFError object
#define GRPC_ERROR_CREATE_FROM_CFERROR(error, desc) \
grpc_error_create_from_cferror(__FILE__, __LINE__, \
static_cast<void*>((error)), (desc))
grpc_error* grpc_error_create_from_cferror(const char* file, int line,
void* arg, const char* desc);
-#endif
+#endif /* GRPC_CFSTREAM */
#endif /* GRPC_CORE_LIB_IOMGR_ERROR_APPLE_H */