repo.or.cz
/
heimdal.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
spelling
[heimdal.git]
/
cf
/
win32.m4
blob
9954ec3cabb63475ebd0e881a9bcbad5e396982a
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
])])