Skip to content
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

JSBigString: Fix building on Windows #26826

Closed
wants to merge 1 commit into from

Conversation

empyrical
Copy link
Contributor

Summary

This pull request replaces the last remaining Unix headers in JSBigString with their equivalent Folly Portability headers, and replaces the calls to getpagesize() with sysconf(_SC_PAGESIZE) since Folly Portability is missing that function.

The work to get this building on windows was mostly done by @acoates-ms, this pull request just adds the finishing touches.

Changelog

[General] [Fixed] - Fixed JSBigString not compiling on Windows due to Unix-specific headers

Test Plan

Compiled with Clang and with MSVC (2017)

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Contributor A React Native contributor. labels Oct 12, 2019
@empyrical empyrical requested a review from shergin October 12, 2019 03:14
@empyrical empyrical added the Platform: Windows Building on Windows. label Oct 12, 2019
Copy link
Contributor

@cpojer cpojer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cpojer is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @empyrical in 80857f2.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Contributor A React Native contributor. Merged This PR has been merged. Platform: Windows Building on Windows.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants