From 5337b4ad943495f6eb487e39f282a693fe4115ea Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 15 May 2017 19:10:25 -0700 Subject: [PATCH] Only define ICU constants in release builds --- atom/node/osfhandle.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/atom/node/osfhandle.cc b/atom/node/osfhandle.cc index e9ec03a5c81f..f21f55a792a4 100644 --- a/atom/node/osfhandle.cc +++ b/atom/node/osfhandle.cc @@ -6,9 +6,11 @@ #include +#if !defined(DEBUG) #define U_I18N_IMPLEMENTATION #define U_COMMON_IMPLEMENTATION #define U_COMBINED_IMPLEMENTATION +#endif #include "third_party/icu/source/common/unicode/ubidi.h" #include "third_party/icu/source/common/unicode/uchar.h"