[STORPORT] Fix x64 build
[reactos.git] / drivers / storage / port / storport / misc.c
index 56b7c6f..7710201 100644 (file)
@@ -321,4 +321,17 @@ AllocateAddressMapping(
     return STATUS_SUCCESS;
 }
 
+#if defined(_M_AMD64)
+/* KeQuerySystemTime is an inline function, 
+   so we cannot forward the export to ntoskrnl */
+STORPORT_API
+VOID
+NTAPI
+StorPortQuerySystemTime(
+    _Out_ PLARGE_INTEGER CurrentTime)
+{
+    KeQuerySystemTime(CurrentTime);
+}
+#endif /* defined(_M_AMD64) */
+
 /* EOF */