projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
cedbd33
)
Fix mingw compile with ARCH=x86-64
author
Marco Costalba
<mcostalba@gmail.com>
Sat, 6 Oct 2012 10:25:13 +0000 (12:25 +0200)
committer
Marco Costalba
<mcostalba@gmail.com>
Sat, 6 Oct 2012 10:34:09 +0000 (12:34 +0200)
When using the Makefile (as for the mingw case),
IS_64BIT and USE_BSFQ are already set with
ARCH=x86-64 and do not need to be redefined.
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/types.h
patch
|
blob
|
history
diff --git
a/src/types.h
b/src/types.h
index
ce73cab
..
59d051e
100644
(file)
--- a/
src/types.h
+++ b/
src/types.h
@@
-41,7
+41,7
@@
#include "platform.h"
-#if defined(_WIN64)
+#if defined(_WIN64) && !defined(IS_64BIT)
# include <intrin.h> // MSVC popcnt and bsfq instrinsics
# define IS_64BIT
# define USE_BSFQ