From c17f485ed3cf79bbce32ed874d80cd17937550ec Mon Sep 17 00:00:00 2001 From: Eric Griffith Date: Sat, 7 Dec 2024 13:50:39 -0800 Subject: [PATCH] IGL: Remove XR_DEBUG_BUILD check Reviewed By: KyleFung, nlutsenko Differential Revision: D66762022 fbshipit-source-id: ccc3c99258ffecacf4b92c8c17799b534da926c9 --- src/igl/Macros.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/igl/Macros.h b/src/igl/Macros.h index 7616f19509..8ee08ed99a 100644 --- a/src/igl/Macros.h +++ b/src/igl/Macros.h @@ -219,8 +219,6 @@ #if defined(IGL_BUILD_MODE_OPT) // Forced opt build. #define IGL_DEBUG 0 -#elif defined(XR_DEBUG_BUILD) - #define IGL_DEBUG 1 #elif IGL_PLATFORM_ANDROID && !defined(FBANDROID_BUILD_MODE_OPT) // On Android, buck defines NDEBUG for all builds so the test above doesn't work. // FBANDROID_BUILD_MODE_OPT is only defined in production builds and was created