From 4f21d77576b371270375f1120cba5cf99c248e9d Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Fri, 1 Jun 2018 15:19:04 +0000 Subject: Fix V8 guards These guards are using #if, when they should be using #ifdef. Caught using Clang's static analyzer. Change-Id: I9bb7a4c2b817e752c04b21a8321595f9676d6381 Reviewed-on: https://pdfium-review.googlesource.com/33511 Reviewed-by: Henrique Nakashima Commit-Queue: Ryan Harrison --- testing/unit_test_main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testing') diff --git a/testing/unit_test_main.cpp b/testing/unit_test_main.cpp index 8d8755e617..92dceefdb6 100644 --- a/testing/unit_test_main.cpp +++ b/testing/unit_test_main.cpp @@ -10,10 +10,10 @@ #include "testing/gtest/include/gtest/gtest.h" #include "testing/test_support.h" -#if PDF_ENABLE_V8 +#ifdef PDF_ENABLE_V8 #include "v8/include/v8-platform.h" #include "v8/include/v8.h" -#endif +#endif // PDF_ENABLE_V8 #if PDF_ENABLE_XFA #include "core/fxge/cfx_fontmgr.h" -- cgit v1.2.3