Skip to content
Commit 89901a8a authored by Dan Sinclair's avatar Dan Sinclair Committed by David Neto
Browse files

Wrap entire timer.cpp in SPIRV_TIMER_ENABLED.

This CL moves the SPIRV_TIMER_ENABLED preprocesser guard to encompass
the includes along with the source. Currently we will try to pull in
sys/resource.h on machines which may not have the file available and the
build will fail. If we don't need timers, then we don't need the
includes as well.
parent f28ed82f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment