未验证 提交 39fd5c8b 编写于 作者: Y ysh329 提交者: GitHub

Merge branch 'release/v2.6' into cherry-pick-precision-profiler-enhance

......@@ -59,8 +59,11 @@
// Thread local storage will be ignored because the linker for iOS 8 does not
// support it.
#define LITE_THREAD_LOCAL
#elif __cplusplus >= 201103
#elif defined(__cplusplus) && (__cplusplus >= 201103)
#define LITE_THREAD_LOCAL thread_local
#elif defined(_WIN32)
// The MSVC compiler does not support standards switches for C++11.
#define LITE_THREAD_LOCAL thread_local
#else
#error "C++11 support is required for paddle-lite compilation."
#error "[Paddle-Lite] C++11 support is required for paddle-lite compilation."
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册