-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Fix portability issues to Linux, FreeBSD, and older libc++ #21764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
dc6fe39
Fix portability issues to Linux and FreeBSD.
matthargett d8d3782
Add missing includes and order by alpha
matthargett d419e7d
fix merge conflict by using same <climits> as upstream instead of my …
matthargett 3ccd6ce
Merge branch 'master' of github.com:facebook/react-native into cxxrea…
matthargett 893dd05
Merge branch 'master' of github.com:facebook/react-native into cxxrea…
matthargett 1e1c53a
Remove new method.
matthargett f14d17c
Add missing include. Use folly wrapper for glog. Only use __has_built…
matthargett 96aa4d5
Merge branch 'master' of github.com:facebook/react-native into cxxrea…
matthargett ef0294b
Merge branch 'master' of github.com:matthargett/react-native into cxx…
matthargett e2bd0c1
Merge branch 'master' of github.com:facebook/react-native into cxxrea…
matthargett 03e5ebe
Merge branch 'master' of github.com:matthargett/react-native into cxx…
matthargett b557e5e
Merge branch 'master' of github.com:matthargett/react-native into cxx…
matthargett 8f81a05
Merge branch 'master' of github.com:matthargett/react-native into cxx…
matthargett c4c79bb
Use glog directly sine folly-molly doesn't include the GLog.h header.
matthargett 5f313ea
Add explicit include for stringstream, which isn't brought in transit…
matthargett 005cb71
Eliminate unused include.
matthargett b47b4f1
Missed converting one of the folly/GLog includes to direct glog.
matthargett 933253b
Dinkumware headers on some platforms doesn't allow coercing a unique_…
matthargett a40723f
Fix Android build by using correct namespace for make_shared.
matthargett ab1c79c
Go back to unique_ptr<InstanceCallback>. I was getting a deleted cons…
matthargett b58801b
Delete file leftover by auto-merge (I guess?).
matthargett e5362e5
Move iOS and Android back to unique_ptr<> now that a workaround for D…
matthargett 8763749
Merge branch 'master' of github.com:matthargett/react-native into cxx…
matthargett File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,7 @@ | |
| #pragma once | ||
|
|
||
| #include <fcntl.h> | ||
| #include <unistd.h> | ||
| #include <sys/mman.h> | ||
| #include <unistd.h> | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.