Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
JSBigString: Fix building on Windows (#26826)
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 Pull Request resolved: #26826 Test Plan: Compiled with Clang and with MSVC (2017) Differential Revision: D17903214 Pulled By: cpojer fbshipit-source-id: 230f8fb410fa81d8f13d8b6ccf1147cfc70358bf
- Loading branch information
1 parent
a0d8740
commit 80857f295c17e5f8966b3d1c1207d3c4570a1b26
Showing
2 changed files
with
61 additions
and
69 deletions.
There are no files selected for viewing
This file contains 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 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