mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-19 04:52:51 +08:00
Fix portability issues to Linux, FreeBSD, and older libc++
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/21764 Differential Revision: D13902907 Pulled By: hramos fbshipit-source-id: 640cde865b1bcc5ca43c17d00574b8e2f78ceaf4
This commit is contained in:
committed by
Facebook Github Bot
parent
1e6f5344d6
commit
36916ee99d
@@ -6,6 +6,7 @@
|
||||
#include <algorithm>
|
||||
#include <chrono>
|
||||
#include <mutex>
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
#include <time.h>
|
||||
|
||||
@@ -17,7 +18,7 @@
|
||||
// we can get rid of this
|
||||
#if defined(__APPLE__)
|
||||
#define MICRO_PROFILER_STUB_IMPLEMENTATION 1
|
||||
#else
|
||||
#elif !defined(MICRO_PROFILER_STUB_IMPLEMENTATION)
|
||||
#define MICRO_PROFILER_STUB_IMPLEMENTATION 0
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user