isl_options.h: allow inclusion from C++
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 9 Apr 2010 09:04:30 +0000 (11:04 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 9 Apr 2010 11:12:34 +0000 (13:12 +0200)
include/isl_options.h

index e13eb00..455b53f 100644 (file)
 
 #include <isl_arg.h>
 
+#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