profiling.cpp preprocessor bug