aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-11 18:50:14 +0000
committerlloyd <[email protected]>2008-10-11 18:50:14 +0000
commit281c2063f35217f9785fa4763475eac6fd4c4ed8 (patch)
tree4562a83de117bbaec8ee7c964dc2254ae205f445
parenteeefdaacd9ab807449da279d469e361440bb96e1 (diff)
Default to using Boost's TR1. There seems to be a bug in the GCC 4.3.2
implementation of shared_ptr on x86 that causes memory corruption; default to Boost to avoid this.
-rw-r--r--src/build-data/buildh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
index 8f2f277c8..e9ed38e46 100644
--- a/src/build-data/buildh.in
+++ b/src/build-data/buildh.in
@@ -38,8 +38,8 @@ Modules
#define BOTAN_COMPILER_HAS_GCC_INLINE_ASM 1
#endif
-#define BOTAN_USE_TR1_SHARED_PTR
-//#define BOTAN_USE_BOOST_TR1_SHARED_PTR
+//#define BOTAN_USE_TR1_SHARED_PTR
+#define BOTAN_USE_BOOST_TR1_SHARED_PTR
#ifndef BOTAN_COMPILER_HAS_GCC_INLINE_ASM
#define BOTAN_COMPILER_HAS_GCC_INLINE_ASM 0