Add Mingw support (tune libraries and disable cpuid with #ifdef)

This commit is contained in:
alex85k
2014-06-11 19:53:37 +06:00
parent ed01eeaeb3
commit 1148652101
2 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <iostream>
#if defined(__x86_64__)
#if defined(__x86_64__) && !defined(__MINGW64__)
#include <cpuid.h>
#else
#include <boost/crc.hpp> // for boost::crc_32_type