[nemiver: 4/5] Port nmv-cpp-ast.h to OpenBSD



commit 4f3c572868d99f7446612318fb012ec5135c5b4e
Author: Landry Breuil <landry rhaalovely net>
Date:   Fri Mar 13 11:53:02 2009 +0100

    Port nmv-cpp-ast.h to OpenBSD
    
    	* src/langs/nmv-cpp-ast.h: For older versions of g++,
    	use boost/tr1/memory.hpp instead of tr1/memory.
---
 src/langs/nmv-cpp-ast.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/langs/nmv-cpp-ast.h b/src/langs/nmv-cpp-ast.h
index 90aff2c..8d5e5bb 100644
--- a/src/langs/nmv-cpp-ast.h
+++ b/src/langs/nmv-cpp-ast.h
@@ -27,7 +27,11 @@
 
 #include <string>
 #include <list>
+#if __GNUC__ >= 4
 #include <tr1/memory>
+#else
+#include <boost/tr1/memory.hpp>
+#endif
 #include "common/nmv-namespace.h"
 #include "common/nmv-api-macros.h"
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]