Преглед изворни кода

Merge branch 'master' of https://github.com/BearishSun/BansheeEngine

BearishSun пре 8 година
родитељ
комит
6ae8cf2508
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      Source/BansheeCore/Source/BsProfilerCPU.cpp

+ 4 - 0
Source/BansheeCore/Source/BsProfilerCPU.cpp

@@ -5,6 +5,10 @@
 #include "BsPlatform.h"
 #include <chrono>
 
+#if BS_COMPILER == BS_COMPILER_MSVC
+	#include <intrin.h>
+#endif
+
 #if BS_COMPILER == BS_COMPILER_GNUC || BS_COMPILER == BS_COMPILER_CLANG
 	#include "cpuid.h"
 #endif