- Create some stubs for some w32kdll api tests. Someone please verify and complete...
[reactos.git] / rostests / apitests / w32knapi / w32knapi.c
index 28240e2..96ae78c 100644 (file)
@@ -49,8 +49,9 @@ GetHandleUserData(HGDIOBJ hobj)
 static DWORD WINAPI
 IntSyscall(FARPROC proc, UINT cParams, PVOID pFirstParam)
 {
-       DWORD retval;
+       DWORD retval = 0;
 
+#ifdef _M_I386
 #ifdef __GNUC__
        asm volatile
        (
@@ -81,6 +82,7 @@ IntSyscall(FARPROC proc, UINT cParams, PVOID pFirstParam)
                mov retval, eax
                popf
     };
+#endif
 #endif
 
        return retval;