https://git.reactos.org/?p=reactos.git;a=commitdiff;h=30bfd8afadbfa89b1bc7d…
commit 30bfd8afadbfa89b1bc7d343bfc23a56863a117a
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Thu Oct 12 23:14:08 2017 +0200
[STORPORT]: Fix build: declare STORPORT_API functions as exports.
---
drivers/storage/port/storport/precomp.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/storage/port/storport/precomp.h
b/drivers/storage/port/storport/precomp.h
index c82d345893..68c59ba339 100644
--- a/drivers/storage/port/storport/precomp.h
+++ b/drivers/storage/port/storport/precomp.h
@@ -11,7 +11,11 @@
#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>