]> git.sesse.net Git - stockfish/commitdiff
Check Intel compiler before MSVC in bitcount.h
authorMarco Costalba <mcostalba@gmail.com>
Sat, 4 Jul 2009 17:03:49 +0000 (18:03 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 4 Jul 2009 17:03:49 +0000 (18:03 +0100)
Predefined macro __INTEL_COMPILER is defined only for Intel,
while _MSC_VER is defined for both Intel C++ and MSVC.

So rearrange ifdefs to take in account this and test __INTEL_COMPILER
first and only if not defined check _MSC_VER for MSVC.

Patch suggested by Joona.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found