[STORPORT]: Fix build: declare STORPORT_API functions as exports.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 12 Oct 2017 21:14:08 +0000 (23:14 +0200)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 12 Oct 2017 21:14:08 +0000 (23:14 +0200)
drivers/storage/port/storport/precomp.h

index c82d345..68c59ba 100644 (file)
 #include <wdm.h>
 #include <ntddk.h>
 #include <stdio.h>
+
+/* Declare STORPORT_API functions as exports rather than imports */
+#define _STORPORT_
 #include <storport.h>
+
 #include <ntddscsi.h>
 #include <ntdddisk.h>
 #include <mountdev.h>