All exports in nidmgr32.dll are declared as __declspec(dllexport)
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 22 Jun 2007 18:47:16 +0000 (18:47 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 22 Jun 2007 18:47:16 +0000 (18:47 +0000)
commit65f9b75e71f9ec13c6b0d86a7ddce50f58369a74
treeb39c382d9186dfe6c0587d552035c3f1423dbd14
parentf7a95afcc719e5641081451eb30155f365286267
All exports in nidmgr32.dll are declared as __declspec(dllexport)
using the KHMEXP macro in the header files.  However, since the same
header files are used to declare imports when building applications
and plug-ins that use nidmgr32.dll, the KHMEXP macro should switch to
__declspec(import) so that the relevant import table entries are
created.

To make this switch, the source files that go into nidmgr32.dll are
compiled with the special macro _NIMLIB_ defined that indicates that
the KHMEXP should expand to __declspec(dllexport).  In the absence of
this macro, KHMEXP will expand to __declspec(dllimport).

ticket: 5584

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19618 dc483132-0cff-0310-8789-dd5450dbe970
26 files changed:
src/windows/identity/include/khdefs.h
src/windows/identity/kconfig/kconfiginternal.h
src/windows/identity/kcreddb/kcreddbinternal.h
src/windows/identity/kherr/kherrinternal.h
src/windows/identity/kmm/kmminternal.h
src/windows/identity/kmm/kplugin.h
src/windows/identity/kmq/kmqinternal.h
src/windows/identity/plugins/krb4/krb4main.c
src/windows/identity/plugins/krb4/krbcred.h
src/windows/identity/plugins/krb5/krb5main.c
src/windows/identity/plugins/krb5/krbcred.h
src/windows/identity/uilib/action.c
src/windows/identity/uilib/alert.c
src/windows/identity/uilib/configui.c
src/windows/identity/uilib/creddlg.c
src/windows/identity/uilib/propsheet.c
src/windows/identity/uilib/propwnd.c
src/windows/identity/uilib/rescache.c
src/windows/identity/uilib/trackerwnd.c
src/windows/identity/uilib/uibind.c
src/windows/identity/uilib/uilibmain.c
src/windows/identity/uilib/version.c
src/windows/identity/util/hashtable.c
src/windows/identity/util/mstring.c
src/windows/identity/util/perfstat.c
src/windows/identity/util/sync.c