Commit 7f3439d5 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

kernel32: Fix a compiler warning on NetBSD.

parent 198b8f73
......@@ -559,8 +559,7 @@ VOID WINAPI GetSystemInfo(
mib[1] = CPU_FPU_PRESENT;
val_len = sizeof(value);
if (sysctl(mib, 2, &value, &val_len, NULL, 0) >= 0)
if (value) PF[PF_FLOATING_POINT_EMULATED] = FALSE;
else PF[PF_FLOATING_POINT_EMULATED] = TRUE;
PF[PF_FLOATING_POINT_EMULATED] = !value;
#endif
#ifdef CPU_SSE
mib[1] = CPU_SSE; /* this should imply MMX */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment