Export _FUNCTION and _VARIABLE for _win32 magic

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23007 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-04-17 10:00:31 +00:00
parent 378014c493
commit a612a9ad35

View File

@@ -308,7 +308,8 @@ extern \"C\" {
if ($opt_E) {
$public_h_header .= "#ifndef $opt_E
#if defined(_WIN32)
#define $opt_E _stdcall __declspec(dllimport)
#define ${opt_E}_FUNCTION _stdcall __declspec(dllimport)
#define ${opt_E}_VARIABLE __declspec(dllimport)
#else
#define $opt_E
#endif
@@ -318,9 +319,11 @@ if ($opt_E) {
$private_h_header .= "#ifndef $opt_E
#if defined(_WIN32)
#define $opt_E _stdcall __declspec(dllimport)
#define ${opt_E}_FUNCTION _stdcall __declspec(dllimport)
#define ${opt_E}_VARIABLE __declspec(dllimport)
#else
#define $opt_E
#define ${opt_E}_FUNCTION
#define ${opt_E}_VARIABLE
#endif
#endif