From f983c99313667627ccd5b852a6edb5da8456eb7a Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Mon, 9 Feb 2015 10:21:53 +0000 Subject: [PATCH] c_interface still kicks --- include/SWI-Prolog.h | 3 +++ include/c_interface.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/SWI-Prolog.h b/include/SWI-Prolog.h index 7fae104bd..907daa6b8 100755 --- a/include/SWI-Prolog.h +++ b/include/SWI-Prolog.h @@ -700,6 +700,9 @@ PL_EXPORT(pl_wchar_t*) PL_atom_generator_w(const pl_wchar_t *pref, #define PL_MSG_IGNORED 0 #define PL_MSG_HANDLED 1 +#ifdef Bind +#undef Bind +#endif #include PL_EXPORT(LRESULT) PL_win_message_proc(HWND hwnd, diff --git a/include/c_interface.h b/include/c_interface.h index eace51f98..0db0c5a3d 100644 --- a/include/c_interface.h +++ b/include/c_interface.h @@ -24,7 +24,7 @@ #ifndef Bool #define Bool YAP_Bool -#endif11 +#endif #define Int long int