X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2FBits.cpp;h=5b61d470434ee85a65a39269bfd3dc810f482381;hb=a0c640e8e2ff45bc43b9f8d96cd108bb66635bee;hp=a2715a0b3f6b43914e9d5bad8c15ef6e426a6095;hpb=5ed20b59910fcb9e7f7f866c5279b0075f5887eb;p=folly.git diff --git a/folly/Bits.cpp b/folly/Bits.cpp index a2715a0b..5b61d470 100644 --- a/folly/Bits.cpp +++ b/folly/Bits.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2014 Facebook, Inc. + * Copyright 2017 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -73,7 +73,7 @@ namespace detail { // or popcount_builtin int popcount(unsigned int x) #if FOLLY_HAVE_IFUNC && !defined(FOLLY_SANITIZE_ADDRESS) - __attribute__((ifunc("folly_popcount_ifunc"))); + __attribute__((__ifunc__("folly_popcount_ifunc"))); #else { return popcount_builtin(x); } #endif @@ -82,7 +82,7 @@ int popcount(unsigned int x) // or popcountll_builtin int popcountll(unsigned long long x) #if FOLLY_HAVE_IFUNC && !defined(FOLLY_SANITIZE_ADDRESS) - __attribute__((ifunc("folly_popcountll_ifunc"))); + __attribute__((__ifunc__("folly_popcountll_ifunc"))); #else { return popcountll_builtin(x); } #endif