bombomby / optick

C++ Profiler For Games

Home Page:https://optick.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for ClangCL in MSVC.

All8Up opened this issue · comments

I suggest changing line 33 of optick.h to the following:

#if (defined(__clang__) && !defined(_MSC_VER)) || defined(__GNUC__)

This will prevent the improper assumption of clang meaning non VC build when the ClangCL driver is in use.