From eda8e5179a00daabf44c475002f73cc42129b177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 17 Apr 2008 10:00:03 +0000 Subject: [PATCH] Add __declspec(dllimport) to the exported functions. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23001 ec53bebd-3082-4978-b11e-865c3cabbd6b --- cf/make-proto.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cf/make-proto.pl b/cf/make-proto.pl index ba7ec7026..98220c254 100644 --- a/cf/make-proto.pl +++ b/cf/make-proto.pl @@ -308,7 +308,7 @@ extern \"C\" { if ($opt_E) { $public_h_header .= "#ifndef $opt_E #if defined(_WIN32) -#define $opt_E _stdcall +#define $opt_E _stdcall __declspec(dllimport) #else #define $opt_E #endif @@ -318,7 +318,7 @@ if ($opt_E) { $private_h_header .= "#ifndef $opt_E #if defined(_WIN32) -#define $opt_E _stdcall +#define $opt_E _stdcall __declspec(dllimport) #else #define $opt_E #endif