From 7d01f4d8b14a310c347ada6da0883791e223edb4 Mon Sep 17 00:00:00 2001 From: Pritesh Nandgaonkar Date: Thu, 21 Dec 2017 04:34:18 -0800 Subject: [PATCH] Do not set FB_ASSERTION_ENABLED Summary: Currently whenever `Yoga.h` is imported by someone we set `FB_ASSERTION_ENABLED`. The use case of this flag is to use assert calls of `FBAssert.h`, since we do not use it anymore, there is no need to set this flag. Reviewed By: emilsjolander Differential Revision: D6611904 fbshipit-source-id: f01ac144159c1b333d8deb8cbb5ba0288e4bf7a4 --- yoga/YGMacros.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/yoga/YGMacros.h b/yoga/YGMacros.h index 628811a9..2b9c5193 100644 --- a/yoga/YGMacros.h +++ b/yoga/YGMacros.h @@ -31,10 +31,6 @@ #define WIN_STRUCT_REF(value) value #endif -#ifndef FB_ASSERTIONS_ENABLED -#define FB_ASSERTIONS_ENABLED 1 -#endif - #ifdef NS_ENUM // Cannot use NSInteger as NSInteger has a different size than int (which is the default type of a // enum).