utils/profiler: fix unix build

This commit is contained in:
Norbert Federa 2013-06-27 13:43:29 +02:00
parent b2108839b0
commit 40976a91b7

View File

@ -259,7 +259,9 @@ void rfx_context_free(RFX_CONTEXT* context)
{ {
CloseThreadpool(context->priv->ThreadPool); CloseThreadpool(context->priv->ThreadPool);
DestroyThreadpoolEnvironment(&context->priv->ThreadPoolEnv); 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); BufferPool_Free(context->priv->BufferPool);