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
roken/parse_time-test.c: Don't pass in incorrect buffer size
[heimdal.git]
/
cf
/
win32.m4
blob
5561ad966f9ee2c75c31153012fe3dbde6aff9a0
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)
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
])])