Remove OSS_RN Specialization in unistd.h Stub (#3921)
* Remove OSS_RN Specialization in unistd.h Stub We're going to remove the OSS_RN preprocessor definition. In the world of building against facebook/react-native we will always need this stub for now. Remove the OSS_RN check, along with a comment which isn't accurate. (We build multiple files including unistd.h still). * Change files
This commit is contained in:
Родитель
84b5418eed
Коммит
5c692f84ab
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "prerelease",
|
||||
"comment": "Remove OSS_RN Specialization in unistd.h Stub",
|
||||
"packageName": "react-native-windows",
|
||||
"email": "nick@nickgerleman.com",
|
||||
"commit": "e77ad6640e5c76b31acc508fa8ed2a6c75640085",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-01-21T19:30:55.735Z"
|
||||
}
|
|
@ -1,6 +1 @@
|
|||
// react-native includes unistd.h, which isn't available in windows.
|
||||
// This shouldn't be needed after
|
||||
// https://github.com/facebook/react-native/pull/25107 is merged
|
||||
#if !defined(OSS_RN)
|
||||
#error This stub should not be used unless building against the non-microsoft version of react-native
|
||||
#endif
|
Загрузка…
Ссылка в новой задаче