Re: [Mesa-dev] [PATCH v2] util: remove redundant check for the __clang__ macro

2018-02-06 Thread Vlad Golovkin
2018-02-06 17:19 GMT+02:00 Brian Paul : > On 02/06/2018 06:48 AM, Vlad Golovkin wrote: >> >> Clang defines __GNUC__ macro, so one doesn't need to check __clang__ >> macro in this particular case. >> >> v2: added comment as per Brian Paul's suggestion >> --- >> src/util/macros.h | 3 ++- >> 1 fil

Re: [Mesa-dev] [PATCH v2] util: remove redundant check for the __clang__ macro

2018-02-06 Thread Brian Paul
On 02/06/2018 06:48 AM, Vlad Golovkin wrote: Clang defines __GNUC__ macro, so one doesn't need to check __clang__ macro in this particular case. v2: added comment as per Brian Paul's suggestion --- src/util/macros.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/uti

[Mesa-dev] [PATCH v2] util: remove redundant check for the __clang__ macro

2018-02-06 Thread Vlad Golovkin
Clang defines __GNUC__ macro, so one doesn't need to check __clang__ macro in this particular case. v2: added comment as per Brian Paul's suggestion --- src/util/macros.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/macros.h b/src/util/macros.h index 432d513930..