[Bug 52374] build on Cygwin fails: error: ‘S_IRUSR’ undeclared (in libs/mpg123)
WineHQ Bugzilla
wine-bugs at winehq.org
Mon Feb 28 13:59:42 CST 2022
https://bugs.winehq.org/show_bug.cgi?id=52374
--- Comment #3 from Saulius K. <saulius2 at gmail.com> ---
Wine 7.3 build still fails on Cygwin.
I took a look at the related code block:
--- snip ---
#if (defined(WIN32) && !defined (__CYGWIN__))
/* MSDN says POSIX function is deprecated beginning in Visual C++ 2005
*/
/* Try plain old _open(), if it fails, do nothing */
ret = _open(filename, flags|_O_BINARY, _S_IREAD | _S_IWRITE);
#else
ret = open(filename, flags,
S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
#endif
--- snip ---
... and now I'm not sure whether the 1st or the 2nd part should be activated
when building 3rd party libs.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list