svn rev #19618: trunk/src/windows/identity/ include/ kconfig/ kcreddb/ kherr/ ...

jaltman@MIT.EDU jaltman at MIT.EDU
Fri Jun 22 14:47:19 EDT 2007


Commit By: jaltman
Log Message: 
ticket: 5584

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).



Changed Files:
U   trunk/src/windows/identity/include/khdefs.h
U   trunk/src/windows/identity/kconfig/kconfiginternal.h
U   trunk/src/windows/identity/kcreddb/kcreddbinternal.h
U   trunk/src/windows/identity/kherr/kherrinternal.h
U   trunk/src/windows/identity/kmm/kmminternal.h
U   trunk/src/windows/identity/kmm/kplugin.h
U   trunk/src/windows/identity/kmq/kmqinternal.h
U   trunk/src/windows/identity/plugins/krb4/krb4main.c
U   trunk/src/windows/identity/plugins/krb4/krbcred.h
U   trunk/src/windows/identity/plugins/krb5/krb5main.c
U   trunk/src/windows/identity/plugins/krb5/krbcred.h
U   trunk/src/windows/identity/uilib/action.c
U   trunk/src/windows/identity/uilib/alert.c
U   trunk/src/windows/identity/uilib/configui.c
U   trunk/src/windows/identity/uilib/creddlg.c
U   trunk/src/windows/identity/uilib/propsheet.c
U   trunk/src/windows/identity/uilib/propwnd.c
U   trunk/src/windows/identity/uilib/rescache.c
U   trunk/src/windows/identity/uilib/trackerwnd.c
U   trunk/src/windows/identity/uilib/uibind.c
U   trunk/src/windows/identity/uilib/uilibmain.c
U   trunk/src/windows/identity/uilib/version.c
U   trunk/src/windows/identity/util/hashtable.c
U   trunk/src/windows/identity/util/mstring.c
U   trunk/src/windows/identity/util/perfstat.c
U   trunk/src/windows/identity/util/sync.c



More information about the cvs-krb5 mailing list