diff options
| author | Theodore Tso <tytso@mit.edu> | 1996-06-12 04:36:25 +0000 |
|---|---|---|
| committer | Theodore Tso <tytso@mit.edu> | 1996-06-12 04:36:25 +0000 |
| commit | 59e0fbe5a62efe044fc502bc50ae1a30e5150b78 (patch) | |
| tree | 673cab9f6294f9a224023863e6fb8b8f5d567d43 /src/include/ChangeLog | |
| parent | 76a98783b540affdeb1a2f351acb3ed369cc68f5 (diff) | |
| download | krb5-59e0fbe5a62efe044fc502bc50ae1a30e5150b78.tar.gz krb5-59e0fbe5a62efe044fc502bc50ae1a30e5150b78.tar.xz krb5-59e0fbe5a62efe044fc502bc50ae1a30e5150b78.zip | |
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
Diffstat (limited to 'src/include/ChangeLog')
| -rw-r--r-- | src/include/ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 2f842b9694..7f29d513e1 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,22 @@ +Mon Jun 10 16:52:35 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> + + * 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 <tytso@mit.edu> * krb5.hin: |
