diff options
author | Theodore Tso <tytso@mit.edu> | 1999-01-21 20:23:04 +0000 |
---|---|---|
committer | Theodore Tso <tytso@mit.edu> | 1999-01-21 20:23:04 +0000 |
commit | 5963226a926334743897ce9b17b6e0c88d8588f0 (patch) | |
tree | 6573951d18a9a1d579065e8b627d4d48191ce9dd /src/util | |
parent | cf8408b6f975132f9b144a53b723c2210bc05348 (diff) | |
download | krb5-5963226a926334743897ce9b17b6e0c88d8588f0.tar.gz krb5-5963226a926334743897ce9b17b6e0c88d8588f0.tar.xz krb5-5963226a926334743897ce9b17b6e0c88d8588f0.zip |
profile.hin: Fix definition of PROTOYPE so that it works under C++
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11113 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/profile/ChangeLog | 5 | ||||
-rw-r--r-- | src/util/profile/profile.hin | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog index 035911559..daa441036 100644 --- a/src/util/profile/ChangeLog +++ b/src/util/profile/ChangeLog @@ -1,3 +1,8 @@ +Thu Jan 21 15:21:18 1999 Theodore Y. Ts'o <tytso@mit.edu> + + * profile.hin: Fix definition of PROTOYPE so that it works under + C++. + 1998-12-31 Theodore Ts'o <tytso@rsts-11.mit.edu> * prof_tree.c (profile_node_iterator): Make sure the pointer to diff --git a/src/util/profile/profile.hin b/src/util/profile/profile.hin index 8984570f3..dadf804a2 100644 --- a/src/util/profile/profile.hin +++ b/src/util/profile/profile.hin @@ -21,7 +21,7 @@ typedef struct _profile_t *profile_t; #if !defined(PROTOTYPE) -#if defined(__STDC__) || defined(_MSDOS) || defined(_WIN32) +#if defined(__STDC__) || defined(__cplusplus) || defined(_MSDOS) || defined(_WIN32) #define PROTOTYPE(x) x #else #define PROTOTYPE(x) () |