The open source OpenXR runtime
1#ifndef __TRACYCPUID_HPP__
2#define __TRACYCPUID_HPP__
3
4// Prior to GCC 11 the cpuid.h header did not have any include guards and thus
5// including it more than once would cause a compiler error due to symbol
6// redefinitions. In order to support older GCC versions, we have to wrap this
7// include between custom include guards to prevent this issue.
8// See also https://github.com/wolfpld/tracy/issues/452
9
10#include <cpuid.h>
11
12#endif