From 0ef652fa7896343b3896200a9d909fee55004d52 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Fri, 9 Apr 2010 11:04:30 +0200 Subject: [PATCH] isl_options.h: allow inclusion from C++ --- include/isl_options.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/isl_options.h b/include/isl_options.h index e13eb00..455b53f 100644 --- a/include/isl_options.h +++ b/include/isl_options.h @@ -12,6 +12,10 @@ #include +#if defined(__cplusplus) +extern "C" { +#endif + struct isl_options { #define ISL_LP_TAB 0 #define ISL_LP_PIP 1 @@ -40,4 +44,8 @@ ISL_ARG_DECL(isl_options, struct isl_options, isl_options_arg) extern struct isl_arg isl_options_arg[]; +#if defined(__cplusplus) +} +#endif + #endif -- 2.7.4