summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/profile/ChangeLog5
-rw-r--r--src/util/profile/profile.hin2
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) ()