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/z-form.h | |
parent | 2aacf84f424399d201f99a7ced0f2fcc4571f04f (diff) |
Make angband.h and z-*.h headers C++-friendly.
Diffstat (limited to 'src/z-form.h')
-rw-r--r-- | src/z-form.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/z-form.h b/src/z-form.h index 69b46794..2dcfa96c 100644 --- a/src/z-form.h +++ b/src/z-form.h @@ -3,6 +3,10 @@ #ifndef INCLUDED_Z_FORM_H #define INCLUDED_Z_FORM_H +#ifdef __cplusplus +extern "C" { +#endif + #include "h-basic.h" /* @@ -43,5 +47,8 @@ extern void quit_fmt(cptr fmt, ...); /* Vararg interface to "core()", using "format()" */ extern void core_fmt(cptr fmt, ...); +#ifdef __cplusplus +} /* extern "C" */ +#endif #endif |