Joel Sherrill commented: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5040#note_108495


fsync.h is from newlib and installed with your compiler. The definition of 
O_DSYNC and O_RSYNC are inside an ifdef(__CYGWIN__) but according to 
[POSIX](https://pubs.opengroup.org/onlinepubs/009604499/basedefs/fcntl.h.html), 
two of the four items defined there are standard. Find them in _default_fsync.h.

For the short term, edit the installed file and let's see what works for you. 
Then I can take the lead to get this submitted to newlib and bump the RTEMS RSB.

Perhaps we are also fixing #1683 at the same time.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5040#note_108495
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to