diff options
author | Jeff Garzik <jeff@garzik.org> | 2010-11-27 00:46:59 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-11-27 00:46:59 -0500 |
commit | 86eb37d631e704768cc4f9684b79fc00e67b384b (patch) | |
tree | 3b9a8abf23184cf80fe9b5fb634ee60746ebfe7f /miner.h | |
parent | 500759cea12cc08abf5af2bdb1bab1eff72d8542 (diff) |
Improve and modularize compile-time CPU detection.
Ideally, we should move this to autoconf.
Diffstat (limited to 'miner.h')
-rw-r--r-- | miner.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4,6 +4,10 @@ #include <stdbool.h> #include <jansson.h> +#ifdef __SSE2__ +#define WANT_SSE2_4WAY 1 +#endif + #ifndef ARRAY_SIZE #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) #endif |