The ifdefs in timer.cpp were not working for msvc 2015 64 bit, so I changed the define to match example.cpp which uses _WIN32
I usually disable the example, but I thought it would be nice to fix it upstream. The ifdefs are just changed to match the other code so it shouldn’t be a big deal for anyone that was already compiling.
Just a thought, but let me know if you would like to see timer.cpp written around std::chrono without the ifdefs, since we do rely on c++11 anyone, that shouldn’t be a problem from a dependency standpoint.
The ifdefs in timer.cpp were not working for msvc 2015 64 bit, so I changed the define to match example.cpp which uses _WIN32
I usually disable the example, but I thought it would be nice to fix it upstream. The ifdefs are just changed to match the other code so it shouldn’t be a big deal for anyone that was already compiling.
Just a thought, but let me know if you would like to see timer.cpp written around std::chrono without the ifdefs, since we do rely on c++11 anyone, that shouldn’t be a problem from a dependency standpoint.