summaryrefslogtreecommitdiffstats
path: root/src/util/profile/profile.hin
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/profile/profile.hin')
-rw-r--r--src/util/profile/profile.hin2
1 files changed, 1 insertions, 1 deletions
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) ()