From e2623c5e82ed2c8af75a17b09c6b80e0182cf4fb Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Fri, 4 Jan 2002 23:32:23 +0000 Subject: [PATCH] fixes for gcc-3.0.3 [SVN r12221] --- include/boost/python/detail/wrap_python.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/boost/python/detail/wrap_python.hpp b/include/boost/python/detail/wrap_python.hpp index d0ad5dd2..3807eae1 100644 --- a/include/boost/python/detail/wrap_python.hpp +++ b/include/boost/python/detail/wrap_python.hpp @@ -47,7 +47,9 @@ typedef int pid_t; # define HAVE_STRERROR # endif # define NT_THREADS -# define WITH_THREAD +# if __GNUC__ < 3 || __GNUC__ == 3 && __GNUC_MINOR__ == 0 && __GNUC_PATCHLEVEL__ < 3 +# define WITH_THREAD +# endif # ifndef NETSCAPE_PI # define USE_SOCKET # endif