From a077d7671f03f6cb3c940212bbaa28a79500d210 Mon Sep 17 00:00:00 2001 From: Jeff Date: Mon, 19 Feb 2018 10:15:03 -0500 Subject: [PATCH] define cpu_* if not set --- libi2pd/CPU.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libi2pd/CPU.cpp b/libi2pd/CPU.cpp index 96beaf78..d2868a20 100644 --- a/libi2pd/CPU.cpp +++ b/libi2pd/CPU.cpp @@ -3,6 +3,15 @@ #include #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