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)
commit92b625d04f0d240a80defbfb2c95178a835efc6e
treeb942e5d68e03c48409911cd7a2a0529c84f0d27d
parent2b32571de88837ef5739348b8a3c951590a94205
Check Intel compiler before MSVC in bitcount.h

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>
src/bitcount.h