From 40976a91b7849671ec30286b91d5bdba9226f465 Mon Sep 17 00:00:00 2001 From: Norbert Federa Date: Thu, 27 Jun 2013 13:43:29 +0200 Subject: [PATCH] utils/profiler: fix unix build --- libfreerdp/codec/rfx.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libfreerdp/codec/rfx.c b/libfreerdp/codec/rfx.c index f12547ce2..cfcfeeac7 100644 --- a/libfreerdp/codec/rfx.c +++ b/libfreerdp/codec/rfx.c @@ -259,7 +259,9 @@ void rfx_context_free(RFX_CONTEXT* context) { CloseThreadpool(context->priv->ThreadPool); DestroyThreadpoolEnvironment(&context->priv->ThreadPoolEnv); - IF_PROFILER (fprintf(stderr, "\nWARNING: Profiling results probably unusable with multithreaded RemoteFX codec!\n");) +#ifdef WITH_PROFILER + fprintf(stderr, "\nWARNING: Profiling results probably unusable with multithreaded RemoteFX codec!\n"); +#endif } BufferPool_Free(context->priv->BufferPool);