From 8d380c1e5cca7cfefb2bc1b553a994ecf61ee3bd Mon Sep 17 00:00:00 2001 From: Alexander Esilevich Date: Mon, 4 Oct 2010 16:12:39 +0700 Subject: [PATCH] Fixes in tests for cmake build --- tests/Gtest-bt.c | 2 +- tests/test-flush-cache.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Gtest-bt.c b/tests/Gtest-bt.c index 152e2af3..408a3353 100644 --- a/tests/Gtest-bt.c +++ b/tests/Gtest-bt.c @@ -26,7 +26,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #endif #include -#if HAVE_EXECINFO_H +#ifdef HAVE_EXECINFO_H # include #else extern int backtrace (void **, int); diff --git a/tests/test-flush-cache.c b/tests/test-flush-cache.c index 180b5c2e..922e08c7 100644 --- a/tests/test-flush-cache.c +++ b/tests/test-flush-cache.c @@ -29,7 +29,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ # include "config.h" #endif -#if HAVE_EXECINFO_H +#ifdef HAVE_EXECINFO_H # include #else extern int backtrace (void **, int);