From: Theodore Tso Date: Thu, 21 Jan 1999 20:23:04 +0000 (+0000) Subject: profile.hin: Fix definition of PROTOYPE so that it works under C++ X-Git-Tag: krb5-1.1-beta1~411 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5963226a926334743897ce9b17b6e0c88d8588f0;p=krb5.git 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 --- 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 + + * profile.hin: Fix definition of PROTOYPE so that it works under + C++. + 1998-12-31 Theodore Ts'o * 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) ()