diff --git a/src/types.h b/src/types.h index 06b0a05985a..f3c5989583c 100644 --- a/src/types.h +++ b/src/types.h @@ -65,7 +65,9 @@ #if defined(_WIN64) && defined(_MSC_VER) // No Makefile used # include // Microsoft header for _BitScanForward64() -# define IS_64BIT +# if !defined(IS_64BIT) // Avoid a warning in clang (LLVM) compiler that IS_64BIT is already defined +# define IS_64BIT +# endif #endif #if defined(USE_POPCNT) && (defined(__INTEL_COMPILER) || defined(_MSC_VER))