Fix wrong header include on Windows

This commit is contained in:
Matthias Hochsteger 2019-01-07 13:18:27 +01:00
parent 58007f1eaf
commit 74a4cd7d93
2 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,6 @@
#include <limits>
#include <vector>
#include <x86intrin.h> // for __rdtsc() CPU time step counter
#include "logging.hpp" // for logger
#include "ngcore_api.hpp" // for NGCORE_API

View File

@ -4,7 +4,12 @@
#include <chrono>
#include <sstream>
#include <string>
#ifdef WIN32
#include <intrin.h> // for __rdtsc() CPU time step counter
#else
#include <x86intrin.h> // for __rdtsc() CPU time step counter
#endif // WIN32
#include "ngcore_api.hpp" // for NGCORE_API