For Win-32: always #include windows.h
authorTheodore Tso <tytso@mit.edu>
Wed, 12 Jun 1996 04:36:25 +0000 (04:36 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 12 Jun 1996 04:36:25 +0000 (04:36 +0000)
commit59e0fbe5a62efe044fc502bc50ae1a30e5150b78
tree673cab9f6294f9a224023863e6fb8b8f5d567d43
parent76a98783b540affdeb1a2f351acb3ed369cc68f5
For Win-32: always #include windows.h

Change INTERFACE to be KRB5_CALLCONV, which is where the calling
convention is defined.  Add KRB5_DLLIMP which is where the DLL
import/export should be put for Win32.  (Win16 is just different.)
The correct way to declare a function which will be used in a DLL is
now: KRB5_DLLIMP func_return_t KRB5_CALLCONV func(long)

Change function delcarations to use the new convention.  Actually, it
doesn't hurt to use the old convention as long as func_return_t
doesn't contain a '*'.  But in the long run we should be exterminating
all uses of INTERFACE in favor of KRB5_CALLCONV and KRB5_DLLIMP.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8305 dc483132-0cff-0310-8789-dd5450dbe970
src/include/ChangeLog
src/include/k5-int.h
src/include/krb5.hin