Add __declspec(dllimport) to the exported functions.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23001 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-04-17 10:00:03 +00:00
parent 478935ffca
commit eda8e5179a

View File

@@ -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