diff --git a/Source/Modules/swigmod.h b/Source/Modules/swigmod.h index a30fdf8fa..c4007be51 100644 --- a/Source/Modules/swigmod.h +++ b/Source/Modules/swigmod.h @@ -18,12 +18,6 @@ #include "preprocessor.h" #include "swigwarn.h" -#if !defined(HAVE_BOOL) -typedef int bool; -#define true ((bool)1) -#define false ((bool)0) -#endif - #define NOT_VIRTUAL 0 #define PLAIN_VIRTUAL 1 #define PURE_VIRTUAL 2 diff --git a/configure.ac b/configure.ac index 2062733d8..b6842e35c 100644 --- a/configure.ac +++ b/configure.ac @@ -40,11 +40,6 @@ AC_DEFINE_UNQUOTED(SWIG_PLATFORM, ["$host"], [Platform that SWIG is built for]) dnl Checks for header files. AC_HEADER_STDC -dnl Checks for types. -AC_LANG_PUSH([C++]) -AC_CHECK_TYPES([bool]) -AC_LANG_POP([C++]) - dnl Look for popen AC_ARG_WITH(popen, AS_HELP_STRING([--without-popen], [Disable popen]), with_popen="$withval") if test x"${with_popen}" = xno ; then