Index: ext/libicpf/src/dmutex.cpp =================================================================== diff -u -rd4269744a04d36c8a8146a84bc27118031fa42ac -r9960df129907ea11b4936b4c2e414d0577cd5f27 --- ext/libicpf/src/dmutex.cpp (.../dmutex.cpp) (revision d4269744a04d36c8a8146a84bc27118031fa42ac) +++ ext/libicpf/src/dmutex.cpp (.../dmutex.cpp) (revision 9960df129907ea11b4936b4c2e414d0577cd5f27) @@ -2,6 +2,8 @@ #include #include +#ifdef ENABLE_MUTEX_DEBUGGING + BEGIN_ICPF_NAMESPACE /////////////////////////////////////////////////////////////// @@ -92,3 +94,5 @@ } END_ICPF_NAMESPACE + +#endif Index: ext/libicpf/src/dmutex.h =================================================================== diff -u -rd4269744a04d36c8a8146a84bc27118031fa42ac -r9960df129907ea11b4936b4c2e414d0577cd5f27 --- ext/libicpf/src/dmutex.h (.../dmutex.h) (revision d4269744a04d36c8a8146a84bc27118031fa42ac) +++ ext/libicpf/src/dmutex.h (.../dmutex.h) (revision 9960df129907ea11b4936b4c2e414d0577cd5f27) @@ -29,6 +29,8 @@ #include "dumpctx.h" #include "mutex.h" +#ifdef ENABLE_MUTEX_DEBUGGING + BEGIN_ICPF_NAMESPACE /** \brief Class provides the locking and unlocking capabilities for use with threads. @@ -68,3 +70,5 @@ END_ICPF_NAMESPACE #endif + +#endif