http://bugs.winehq.org/show_bug.cgi?id=18787
Summary: Implement interlocked.c for Solaris/x86 using Sun C Product: Wine Version: 1.1.22 Platform: PC OS/Version: Solaris Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: baggett.patrick@gmail.com
When compiling Wine from source tarball on Solaris 10 5/09 with Sun Studio 12 cc I get the following message:
"You must implement the interlocked* functions for your compiler"
Sun C uses the same inline assembly language format as GCC, so simply changing line 27 at top of libs/port/interlocked.c to read:
#if defined(__GNUC__) || defined(__SUNPRO_C)
causes it to successfully compile using the inline assembly. Given the trivial nature of this, is there any way this can be merged?