From 26a847060c3a2a06bb67f9f11fbfc714cfcbc22d Mon Sep 17 00:00:00 2001 From: Kasper Weibel Nielsen-Refs Date: Wed, 24 May 2017 14:55:14 +0200 Subject: [PATCH 1/3] Change header path to fix https://github.com/TextureGroup/Texture/issues/25 --- Source/Base/ASAvailability.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Base/ASAvailability.h b/Source/Base/ASAvailability.h index 52f204511..b3f6384f7 100644 --- a/Source/Base/ASAvailability.h +++ b/Source/Base/ASAvailability.h @@ -33,7 +33,7 @@ // If Yoga is available, make it available anywhere we use ASAvailability. // This reduces Yoga-specific code in other files. #ifndef YOGA_HEADER_PATH - #define YOGA_HEADER_PATH + #define YOGA_HEADER_PATH #endif #ifndef YOGA From 5afd3eccc4e3d8abfeabfafc1a747989ec35c53f Mon Sep 17 00:00:00 2001 From: Kasper Weibel Nielsen-Refs Date: Wed, 24 May 2017 15:26:11 +0200 Subject: [PATCH 2/3] Use module import --- Source/ASDisplayNode+Beta.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ASDisplayNode+Beta.h b/Source/ASDisplayNode+Beta.h index 65d02790c..01c556886 100644 --- a/Source/ASDisplayNode+Beta.h +++ b/Source/ASDisplayNode+Beta.h @@ -21,7 +21,7 @@ #import #if YOGA - #import YOGA_HEADER_PATH + @import yoga; #endif NS_ASSUME_NONNULL_BEGIN From 492e7541c6102db2c206f59c2c119d95ba4e0913 Mon Sep 17 00:00:00 2001 From: appleguy Date: Tue, 6 Jun 2017 12:51:31 -0700 Subject: [PATCH 3/3] Update ASDisplayNode+Beta.h --- Source/ASDisplayNode+Beta.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ASDisplayNode+Beta.h b/Source/ASDisplayNode+Beta.h index 01c556886..65d02790c 100644 --- a/Source/ASDisplayNode+Beta.h +++ b/Source/ASDisplayNode+Beta.h @@ -21,7 +21,7 @@ #import #if YOGA - @import yoga; + #import YOGA_HEADER_PATH #endif NS_ASSUME_NONNULL_BEGIN