From 59e0fbe5a62efe044fc502bc50ae1a30e5150b78 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Wed, 12 Jun 1996 04:36:25 +0000 Subject: 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 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/include/ChangeLog') diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 2f842b969..7f29d513e 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,22 @@ +Mon Jun 10 16:52:35 1996 Theodore Ts'o + + * krb5.hin + * k5-int.h: 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. + Fri Jun 7 18:13:33 1996 Theodore Y. Ts'o * krb5.hin: -- cgit