probe exported symbols
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:

committed by
Love Hornquist Astrand

parent
d6f90d3ef5
commit
c9fdd77bc8
@@ -316,26 +316,33 @@ extern \"C\" {
|
||||
}
|
||||
if ($opt_E) {
|
||||
$public_h_header .= "#ifndef $opt_E
|
||||
#ifndef ${opt_E}_FUNCTION
|
||||
#if defined(_WIN32)
|
||||
#define ${opt_E}_FUNCTION __stdcall __declspec(dllimport)
|
||||
#define ${opt_E}_FUNCTION __declspec(dllimport)
|
||||
#define ${opt_E}_CALL __stdcall
|
||||
#define ${opt_E}_VARIABLE __declspec(dllimport)
|
||||
#else
|
||||
#define ${opt_E}_FUNCTION
|
||||
#define ${opt_E}_CALL
|
||||
#define ${opt_E}_VARIABLE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
";
|
||||
|
||||
$private_h_header .= "#ifndef $opt_E
|
||||
#ifndef ${opt_E}_FUNCTION
|
||||
#if defined(_WIN32)
|
||||
#define ${opt_E}_FUNCTION __stdcall __declspec(dllimport)
|
||||
#define ${opt_E}_FUNCTION __declspec(dllimport)
|
||||
#define ${opt_E}_CALL __stdcall
|
||||
#define ${opt_E}_VARIABLE __declspec(dllimport)
|
||||
#else
|
||||
#define ${opt_E}_FUNCTION
|
||||
#define ${opt_E}_CALL
|
||||
#define ${opt_E}_VARIABLE
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
";
|
||||
}
|
||||
|
Reference in New Issue
Block a user