From a8faf48088fbf76c30ab6bdf5925e3b820d319cc Mon Sep 17 00:00:00 2001 From: Michael Lee Date: Fri, 29 Jan 2016 07:23:19 -0800 Subject: [PATCH] Exclude based on __APPLE__ Summary: This was showing up on a Linux compile to my sadness. Reviewed By: francis-ma Differential Revision: D2876010 fb-gh-sync-id: f638d593712c0aeb50177d96aaacb26575820359 --- folly/Portability.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/Portability.h b/folly/Portability.h index 0e9c471b..41c59820 100644 --- a/folly/Portability.h +++ b/folly/Portability.h @@ -231,7 +231,7 @@ namespace std { typedef ::max_align_t max_align_t; } # error cannot define platform specific thread local storage #endif -#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE +#if defined(__APPLE__) && (TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE) #undef FOLLY_TLS #endif -- 2.34.1