Added DiscriminatedPtr support to arm64
authorlpathy <lpathy@cavium.com>
Wed, 3 Aug 2016 21:13:44 +0000 (14:13 -0700)
committerFacebook Github Bot 7 <facebook-github-bot-7-bot@fb.com>
Wed, 3 Aug 2016 21:23:31 +0000 (14:23 -0700)
Summary: Closes https://github.com/facebook/folly/pull/429

Reviewed By: mzlee

Differential Revision: D3649806

Pulled By: Orvid

fbshipit-source-id: 77288e0a1aedf15a18f558e18fbc1dc3a56e5fd6

folly/DiscriminatedPtr.h

index 24494eff0124553f92ff414ec50167ae3e72bd21..43eb81e50a8ae4097d47b116083d52f10b40b28a 100644 (file)
@@ -33,8 +33,8 @@
 #include <folly/Portability.h>
 #include <folly/detail/DiscriminatedPtrDetail.h>
 
-#if !FOLLY_X64 && !FOLLY_PPC64
-# error "DiscriminatedPtr is x64 and ppc64 specific code."
+#if !FOLLY_X64 && !FOLLY_A64 && !FOLLY_PPC64
+# error "DiscriminatedPtr is x64, arm64 and ppc64 specific code."
 #endif
 
 namespace folly {