summaryrefslogtreecommitdiffstats
path: root/src/sat/asat/solver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sat/asat/solver.h')
-rw-r--r--src/sat/asat/solver.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sat/asat/solver.h b/src/sat/asat/solver.h
index d798a7a9..62815656 100644
--- a/src/sat/asat/solver.h
+++ b/src/sat/asat/solver.h
@@ -22,6 +22,10 @@ OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWA
#ifndef solver_h
#define solver_h
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifdef _WIN32
#define inline __inline // compatible with MS VS 6.0
#endif
@@ -141,5 +145,9 @@ struct solver_t
stats solver_stats;
};
+
+#ifdef __cplusplus
+}
+#endif
#endif