From 60ee8d4fa4aecb9257099d96f33e61ef8a048662 Mon Sep 17 00:00:00 2001 From: Michael Schneider Date: Sun, 3 Mar 2019 07:56:09 -0800 Subject: [PATCH] Don't compile out ASExperimentalTextNode if ASTextNode is compiled out (#1353) --- Source/ASExperimentalFeatures.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/ASExperimentalFeatures.h b/Source/ASExperimentalFeatures.h index 96e5127c4..87aee06aa 100644 --- a/Source/ASExperimentalFeatures.h +++ b/Source/ASExperimentalFeatures.h @@ -17,9 +17,9 @@ NS_ASSUME_NONNULL_BEGIN */ typedef NS_OPTIONS(NSUInteger, ASExperimentalFeatures) { ASExperimentalGraphicsContexts = 1 << 0, // exp_graphics_contexts -#if AS_ENABLE_TEXTNODE + // If AS_ENABLE_TEXTNODE=0 or TextNode2 subspec is used this setting is a no op and ASTextNode2 + // will be used in all cases ASExperimentalTextNode = 1 << 1, // exp_text_node -#endif ASExperimentalInterfaceStateCoalescing = 1 << 2, // exp_interface_state_coalesce ASExperimentalUnfairLock = 1 << 3, // exp_unfair_lock ASExperimentalLayerDefaults = 1 << 4, // exp_infer_layer_defaults