Sfoglia il codice sorgente

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

BearishSun 8 anni fa
parent
commit
6ae8cf2508
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      Source/BansheeCore/Source/BsProfilerCPU.cpp

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

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