This repository has been archived by the owner on Dec 1, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix uv__to_stat function on Nuttx with newer gcc (#100)
With a newer arm gcc (5.0+) the _DEFAULT_SOURCE macro gets defined when the unix/fs.c file is built thus trying to access a set of stat struct members which are not defined on Nuttx. By adding an extra check to see if the build is for Nuttx we can correctly select the stat conversion code path. libtuv-DCO-1.0-Signed-off-by: Peter Gal [email protected]
- Loading branch information