mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-23 17:36:37 +02:00
define cpu_* if not set
This commit is contained in:
parent
6485ebe9a7
commit
a077d7671f
1 changed files with 9 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue