summaryrefslogtreecommitdiff
path: root/h
diff options
context:
space:
mode:
authorGravatar Kenneth G Raeburn <raeburn@mit.edu>1990-11-14 18:45:05 +0000
committerGravatar Kenneth G Raeburn <raeburn@mit.edu>1990-11-14 18:45:05 +0000
commit5a28621ea3b0f5e5216af5bb83d21284fc93fbba (patch)
tree61ef59b251a38b23d0eeb3f5f8764669d0ba58d1 /h
parentc73669e9b2437df1ab63996e09dd1250e026d550 (diff)
Treat C++ like standard C.
Diffstat (limited to 'h')
-rw-r--r--h/zephyr/zephyr_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/h/zephyr/zephyr_internal.h b/h/zephyr/zephyr_internal.h
index 5d1e389..69b8b1b 100644
--- a/h/zephyr/zephyr_internal.h
+++ b/h/zephyr/zephyr_internal.h
@@ -86,7 +86,7 @@ extern int krb_err_base;
extern "C" {
#endif
-#if defined(__STDC__)
+#if defined(__STDC__) || defined(__cplusplus)
extern void *malloc (unsigned);
#else
extern char *malloc();
@@ -103,4 +103,4 @@ extern "C" {
}
#endif
-#endif /* !__ZINTERNAL_H__ */
+#endif !__ZINTERNAL_H__