From 008ec58d9fe2d794a0cfdd4fa3628c51d1ff6a3d Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Sun, 12 Jul 2009 03:52:52 +0000 Subject: [PATCH] When building the block cache for UserlandFS's haiku emulation lib, don't include tracing since that's unavailable outside of the kernel. Fixes ticket #4092. Axel or Ingo, please review. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31525 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/cache/block_cache.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/kernel/cache/block_cache.cpp b/src/system/kernel/cache/block_cache.cpp index 0c713eb9d7..bc305a9f56 100644 --- a/src/system/kernel/cache/block_cache.cpp +++ b/src/system/kernel/cache/block_cache.cpp @@ -164,7 +164,7 @@ struct cache_transaction { bigtime_t last_used; }; -#if BLOCK_CACHE_BLOCK_TRACING +#if BLOCK_CACHE_BLOCK_TRACING && !defined(BUILDING_USERLAND_FS_SERVER) namespace BlockTracing { class Action : public AbstractTraceEntry { @@ -415,7 +415,7 @@ private: #endif -#if BLOCK_CACHE_TRANSACTION_TRACING +#if BLOCK_CACHE_TRANSACTION_TRACING && !defined(BUILDING_USERLAND_FS_SERVER) namespace TransactionTracing { class Action : public AbstractTraceEntry {