Skip to content

Commit f9ff8f0

Browse files
committed
win32: use posix intrinsics instead of MSVC asm code on i686 MinGW
1 parent ebfb77d commit f9ff8f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/trusted/service_runtime/arch/x86_32/sel_rt_32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ int NaClAppThreadInitArchSpecific(struct NaClAppThread *natp,
9090
* Save the system's state of the x87 FPU control word so we can restore
9191
* the same state when returning to trusted code.
9292
*/
93-
#if NACL_WINDOWS
93+
#if NACL_WINDOWS && defined(_MSC_VER)
9494
{
9595
uint16_t sys_fcw;
9696
__asm {

0 commit comments

Comments
 (0)