[FAST486]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Wed, 22 Apr 2015 03:11:03 +0000 (03:11 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Wed, 22 Apr 2015 03:11:03 +0000 (03:11 +0000)
Fix compilation when FAST486_NO_PREFETCH is set.

svn path=/trunk/; revision=67341

reactos/lib/fast486/fast486.c

index 86f5811..006bee5 100644 (file)
@@ -340,7 +340,10 @@ Fast486Rewind(PFAST486_STATE State)
     /* This function is used when an instruction has been interrupted remotely */
     State->PrefixFlags = 0;
     State->InstPtr.Long = State->SavedInstPtr.Long;
+
+#ifndef FAST486_NO_PREFETCH
     State->PrefetchValid = FALSE;
+#endif
 }
 
 /* EOF */