From 628dd5cbc7117c963dcadbe0abc1ab5ebeb94832 Mon Sep 17 00:00:00 2001 From: J-M Date: Sat, 17 Dec 2022 19:27:47 +1100 Subject: [PATCH] Candidate partial fix for issue #14 --- include/wila/random.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wila/random.hpp b/include/wila/random.hpp index 7eb2078..ed08c75 100644 --- a/include/wila/random.hpp +++ b/include/wila/random.hpp @@ -126,7 +126,7 @@ namespace mhcpp Distribution _dist; }; -#ifdef __GNUC__ +#if defined(__GNUC__) && !defined(__clang__) #define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) #if GCC_VERSION < 40800 #define WILA_USE_TYPEDEF_RNG