From a5cc2f3b5d57b18b41cc931de5584e2a38a0bc75 Mon Sep 17 00:00:00 2001 From: Jeff Date: Mon, 19 Feb 2018 10:15:39 -0500 Subject: [PATCH] define bit_* if not already defined --- 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