From 1ab1d03c6250ab3ff9d022e105e2fd4c24032b5b Mon Sep 17 00:00:00 2001 From: tensor-tang Date: Mon, 13 Aug 2018 16:41:32 +0800 Subject: [PATCH] fix missing macro condition --- paddle/fluid/platform/cpu_info.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/paddle/fluid/platform/cpu_info.cc b/paddle/fluid/platform/cpu_info.cc index 9280965af2..7d53a684d6 100644 --- a/paddle/fluid/platform/cpu_info.cc +++ b/paddle/fluid/platform/cpu_info.cc @@ -13,8 +13,11 @@ See the License for the specific language governing permissions and limitations under the License. */ #include "paddle/fluid/platform/cpu_info.h" + +#ifdef PADDLE_WITH_XBYAK #include "xbyak/xbyak.h" #include "xbyak/xbyak_util.h" +#endif #ifdef __APPLE__ #include -- GitLab