From e04284dc9694c53314403536a27992a9cfc655a2 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Sun, 20 Feb 2011 14:53:43 +0100 Subject: Make angband.h and z-*.h headers C++-friendly. --- src/angband.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/angband.h') diff --git a/src/angband.h b/src/angband.h index 0496a302..cac38122 100644 --- a/src/angband.h +++ b/src/angband.h @@ -14,6 +14,12 @@ */ +/* + * C++ guard. + */ +#ifdef __cplusplus +extern "C" { +#endif /* * First, include the low-level includes. Be sure to edit "h-config.h" @@ -94,6 +100,9 @@ * of the author Robert Alan Koeneke. */ +#ifdef __cplusplus +} /* extern "C" */ +#endif #endif -- cgit v1.2.3