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:
@@ -308,7 +308,7 @@ extern \"C\" {
|
|||||||
if ($opt_E) {
|
if ($opt_E) {
|
||||||
$public_h_header .= "#ifndef $opt_E
|
$public_h_header .= "#ifndef $opt_E
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
#define $opt_E _stdcall
|
#define $opt_E _stdcall __declspec(dllimport)
|
||||||
#else
|
#else
|
||||||
#define $opt_E
|
#define $opt_E
|
||||||
#endif
|
#endif
|
||||||
@@ -318,7 +318,7 @@ if ($opt_E) {
|
|||||||
|
|
||||||
$private_h_header .= "#ifndef $opt_E
|
$private_h_header .= "#ifndef $opt_E
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
#define $opt_E _stdcall
|
#define $opt_E _stdcall __declspec(dllimport)
|
||||||
#else
|
#else
|
||||||
#define $opt_E
|
#define $opt_E
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user