diff options
author | Ian Lance Taylor <iant@google.com> | 2009-06-01 15:37:03 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2009-06-01 15:37:03 +0000 |
commit | 4851089fc69c0a249ff82f307829b47dc3856ee0 (patch) | |
tree | abfa6a7597c6532d5cb5aad4f89f160ec834b685 /libcpp/include/cpp-id-data.h | |
parent | db868e1edfabd88ca30f61e1b8e11155dc2a7ba5 (diff) | |
download | gcc-4851089fc69c0a249ff82f307829b47dc3856ee0.zip gcc-4851089fc69c0a249ff82f307829b47dc3856ee0.tar.gz gcc-4851089fc69c0a249ff82f307829b47dc3856ee0.tar.bz2 |
cpp-id-data.h: Add extern "C".
* include/cpp-id-data.h: Add extern "C".
* include/line-map.h: Likewise.
* include/mkdeps.h: Likewise.
* include/symtab.h: Likewise.
* internal.h: Likewise.
From-SVN: r148051
Diffstat (limited to 'libcpp/include/cpp-id-data.h')
-rw-r--r-- | libcpp/include/cpp-id-data.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libcpp/include/cpp-id-data.h b/libcpp/include/cpp-id-data.h index a57edad..d2adbfa 100644 --- a/libcpp/include/cpp-id-data.h +++ b/libcpp/include/cpp-id-data.h @@ -18,6 +18,10 @@ along with this program; see the file COPYING3. If not see #include "cpplib.h" +#ifdef __cplusplus +extern "C" { +#endif + #if !defined (HAVE_UCHAR) && !defined (IN_GCC) typedef unsigned char uchar; #endif @@ -79,3 +83,7 @@ struct GTY(()) cpp_macro { tokens. */ unsigned int extra_tokens : 1; }; + +#ifdef __cplusplus +} +#endif |