Browse Source

define cpu_* if not set

pull/1120/head
Jeff 6 years ago
parent
commit
a077d7671f
  1. 9
      libi2pd/CPU.cpp

9
libi2pd/CPU.cpp

@ -3,6 +3,15 @@ @@ -3,6 +3,15 @@
#include <cpuid.h>
#endif
#include "Log.h"
#ifndef bit_AES
#define bit_AES (1 << 25)
#endif
#ifndef bit_AVX
#define bit_AVX (1 << 28)
#endif
namespace i2p
{
namespace cpu

Loading…
Cancel
Save