diff options
Diffstat (limited to 'src/angband.h')
-rw-r--r-- | src/angband.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 |