[HEIMDAL-646] malloc(0) checks for AIX
[heimdal.git] / cf / win32.m4
blob9954ec3cabb63475ebd0e881a9bcbad5e396982a
1 dnl $Id$
2 dnl rk_WIN32_EXPORT buildsymbol symbol-that-export
3 AC_DEFUN([rk_WIN32_EXPORT],[AH_TOP([#ifdef $1
4 #ifndef $2
5 #ifdef _WIN32_
6 #define $2_FUNCTION __declspec(dllexport) __stdcall
7 #define $2_VARIABLE __declspec(dllexport)
8 #else
9 #define $2_FUNCTION
10 #define $2_VARIABLE
11 #endif
12 #endif
13 #endif
14 ])])