amzn / hawktracer

HawkTracer is a highly portable, low-overhead, configurable profiling tool built in Amazon Video for getting performance metrics from low-end devices.
MIT License
133 stars 31 forks source link

Fixed windows compilation #28

Closed AlexEne closed 6 years ago

AlexEne commented 6 years ago

Issue #, if available:

Description of changes: VisualStudio doesn't respect the cplusplus for a long time so this change is needed in order to compile on a lot of versions. https://blogs.msdn.microsoft.com/vcblog/2018/04/09/msvc-now-correctly-reports-cplusplus/

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.