For a cleaner stat64 and friends handling I would consider trying Like has been done for apple , something along the lines of
#if defined(__APPLE__) || defined(__HAIKU__) # define lseek64 lseek # define open64 open // avoid warning: '(f)stat64' is deprecated: first deprecated in macOS 10.6 # define stat64 stat # define fstat64 fstat … … #endif Less code intrusive cheers E > On 15 Jan 2019, at 18:08, Jason Martin <agrel...@gmail.com> wrote: > > Starting patch for anyone who wants to fool around with it. > > https://github.com/agrellum/NetRexx-Samples/blob/master/haiku-oorexx.patch > > > > > > _______________________________________________ > Oorexx-devel mailing list > Oorexx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oorexx-devel _______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel