Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
using
directive in Unistd.h
to fix react native compilation e…
…rror (#2248) Summary: - When using React Native 0.74.x, RCT-Folly is installed as a `Pod` dependency. - When compiling the app for iOS using `xcodebuild`, the file `Unistd.h` gives compilation error "Unexpected type name 'off_t': expected expression". ![image](https://github.com/facebook/folly/assets/11807135/753a6147-ec74-44df-851d-e5f17190a0b6) - Changing it to typedef makes this error go away, and the app compiles and runs correctly. This might also fix: #2167 (comment) Note: CLA is signed ✅ Pull Request resolved: #2248 Reviewed By: yfeldblum Differential Revision: D59289182 Pulled By: Orvid fbshipit-source-id: 16902e2f6f5f26f024c9b3889505c0803ccc81ff
- Loading branch information