http://bugs.winehq.org/show_bug.cgi?id=34191
Bug #: 34191 Summary: cabarc.c could not compile Product: Wine Version: 1.6 Platform: x86-64 OS/Version: Windows Status: UNCONFIRMED Severity: normal Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: jrd4@rice.edu Classification: Unclassified
programs/cabarc/cabarc.c could not compile on Cygwin (Windows 7), due to an issue with variable _O_ACCMODE. Apparently _O_ACCMODE was not being defined properly, which was causing a reference error on line 152 (switch (oflag & _O_ACCMODE)).
I was able to resolve this issue and compile Wine successfully by replacing _O_ACCMODE in line 152 with 1, making the line: switch (oflag & 1). I'm not sure if this is correct, but it did at least solve my immediate problem.