Browse Source

define bit_* if not already defined

pull/1120/head
Jeff 7 years ago
parent
commit
a5cc2f3b5d
  1. 9
      libi2pd/CPU.cpp

9
libi2pd/CPU.cpp

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

Loading…
Cancel
Save