From 5963226a926334743897ce9b17b6e0c88d8588f0 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 21 Jan 1999 20:23:04 +0000 Subject: [PATCH] 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 --- src/util/profile/ChangeLog | 5 +++++ src/util/profile/profile.hin | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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) () -- 2.26.2