xref: /minix/crypto/external/bsd/heimdal/dist/cf/win32.m4 (revision 0a6a1f1d)
1dnl Id
2dnl rk_WIN32_EXPORT buildsymbol symbol-that-export
3AC_DEFUN([rk_WIN32_EXPORT],[AH_TOP([#ifdef $1
4#ifndef $2
5#ifdef _WIN32_
6#define $2_FUNCTION __declspec(dllexport)
7#define $2_CALL __stdcall
8#define $2_VARIABLE __declspec(dllexport)
9#else
10#define $2_FUNCTION
11#define $2_CALL
12#define $2_VARIABLE
13#endif
14#endif
15#endif
16])])
17