profile.hin: Fix definition of PROTOYPE so that it works under C++
authorTheodore Tso <tytso@mit.edu>
Thu, 21 Jan 1999 20:23:04 +0000 (20:23 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 21 Jan 1999 20:23:04 +0000 (20:23 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11113 dc483132-0cff-0310-8789-dd5450dbe970

src/util/profile/ChangeLog
src/util/profile/profile.hin

index 035911559dddc8e88e51f302e0191627189dfa51..daa44103681499a35623be20d1df9646470ef621 100644 (file)
@@ -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
index 8984570f319ee36647b33d9a8a1388b0ceb0941b..dadf804a27b6cf0d86f092bf86d2ae46bcdf8e1a 100644 (file)
@@ -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) ()