diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-04-08 12:24:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-08 12:24:30 +0200 |
commit | 918de768a550b89da0d232f2040fa618bb10e25a (patch) | |
tree | 5d5e499becefbc8fc4a08e7a06dd0a99a2059887 /modules/mono/utils | |
parent | 3cf2bdbd8416ffd39c105bf64fc3544424d0a2cf (diff) | |
parent | ad2127a3e8b274d4946a35cafd31c904a3de294b (diff) |
Merge pull request #27711 from neikeq/ifdef-clang-tidy
Replace a few #if/#elif with #ifdef and "#elif defined"
Diffstat (limited to 'modules/mono/utils')
-rw-r--r-- | modules/mono/utils/thread_local.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/utils/thread_local.h b/modules/mono/utils/thread_local.h index 276db8830b..488cc2619a 100644 --- a/modules/mono/utils/thread_local.h +++ b/modules/mono/utils/thread_local.h @@ -39,7 +39,7 @@ #error Platform or compiler not supported #endif -#ifdef __GNUC__ +#if defined(__GNUC__) #ifdef HAVE_GCC___THREAD #define _THREAD_LOCAL_(m_t) __thread m_t @@ -47,7 +47,7 @@ #define USE_CUSTOM_THREAD_LOCAL #endif -#elif _MSC_VER +#elif defined(_MSC_VER) #ifdef HAVE_DECLSPEC_THREAD #define _THREAD_LOCAL_(m_t) __declspec(thread) m_t |