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);