From 9f3e3baf2b3179af647528464c63fa71e448dc40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Mon, 9 Nov 2015 11:30:04 +0000 Subject: [PATCH] gap and C++ :( --- include/SWI-Prolog.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SWI-Prolog.h b/include/SWI-Prolog.h index 60b0d13ae..8115af8e2 100755 --- a/include/SWI-Prolog.h +++ b/include/SWI-Prolog.h @@ -26,7 +26,7 @@ extern "C" { #endif -#if USE_GMP +#if USE_GMP && !defined(__cplusplus) #include #endif @@ -798,7 +798,7 @@ PL_EXPORT(int) PL_unr1egister_blob_type(PL_blob_t *type); PL_EXPORT(int) PL_raise(int sig); #endif -#if USE_GMP +#if USE_GMP && !defined(__cplusplus) #include