probe exported symbols

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:
Asanka Herath
2009-11-24 12:30:24 -08:00
committed by Love Hornquist Astrand
parent d6f90d3ef5
commit c9fdd77bc8
2 changed files with 13 additions and 4 deletions

View File

@@ -3,10 +3,12 @@ dnl rk_WIN32_EXPORT buildsymbol symbol-that-export
AC_DEFUN([rk_WIN32_EXPORT],[AH_TOP([#ifdef $1
#ifndef $2
#ifdef _WIN32_
#define $2_FUNCTION __declspec(dllexport) __stdcall
#define $2_FUNCTION __declspec(dllexport)
#define $2_CALL __stdcall
#define $2_VARIABLE __declspec(dllexport)
#else
#define $2_FUNCTION
#define $2_CALL
#define $2_VARIABLE
#endif
#endif