diff options
author | Bardur Arantsson <bardur@scientician.net> | 2011-02-20 14:53:43 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2011-02-20 15:54:50 +0100 |
commit | e04284dc9694c53314403536a27992a9cfc655a2 (patch) | |
tree | 9daeb79e07658b7c7c2551c1d8da5b2c403283e7 /src/angband.h | |
parent | 2aacf84f424399d201f99a7ced0f2fcc4571f04f (diff) |
Make angband.h and z-*.h headers C++-friendly.
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 |