diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2017-07-06 11:31:20 +0800 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-07-06 08:01:52 +0100 |
commit | f3979b7fbd83e85301ba2f028936fb7c50a48f42 (patch) | |
tree | a18251bae83519abf72fd27039587659b01a415d | |
parent | 499717756f010eb6796747a74f948454ad17c061 (diff) | |
download | haskell-f3979b7fbd83e85301ba2f028936fb7c50a48f42.tar.gz |
lowercase clang
-rw-r--r-- | rts/sm/Storage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/sm/Storage.c b/rts/sm/Storage.c index 7b97c01fd8..ffaed5f17c 100644 --- a/rts/sm/Storage.c +++ b/rts/sm/Storage.c @@ -1341,7 +1341,7 @@ StgWord calcTotalCompactW (void) #include <libkern/OSCacheControl.h> #endif -#if defined(__CLANG__) +#if defined(__clang__) /* clang defines __clear_cache as a builtin on some platforms. * For example on armv7-linux-androideabi. The type slightly * differs from gcc. @@ -1366,7 +1366,7 @@ void flushExec (W_ len, AdjustorExecutable exec_addr) #elif (defined(arm_HOST_ARCH) || defined(aarch64_HOST_ARCH)) && defined(ios_HOST_OS) /* On iOS we need to use the special 'sys_icache_invalidate' call. */ sys_icache_invalidate(exec_addr, len); -#elif defined(__CLANG__) +#elif defined(__clang__) unsigned char* begin = (unsigned char*)exec_addr; unsigned char* end = begin + len; # if __has_builtin(__builtin___clear_cache) |