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-term.h | |
parent | 2aacf84f424399d201f99a7ced0f2fcc4571f04f (diff) |
Make angband.h and z-*.h headers C++-friendly.
Diffstat (limited to 'src/z-term.h')
-rw-r--r-- | src/z-term.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/z-term.h b/src/z-term.h index d7a34530..dae2e1bd 100644 --- a/src/z-term.h +++ b/src/z-term.h @@ -11,6 +11,10 @@ #ifndef INCLUDED_Z_TERM_H #define INCLUDED_Z_TERM_H +#ifdef __cplusplus +extern "C" { +#endif + #include "h-basic.h" #define IN_MAINWINDOW (Term == term_screen) @@ -358,6 +362,9 @@ extern errr Term_activate(term *t); extern errr term_nuke(term *t); extern errr term_init(term *t, int w, int h, int k); +#ifdef __cplusplus +} /* extern "C" */ #endif +#endif |