summaryrefslogtreecommitdiff
path: root/cpp/src/memory.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2006-10-16 13:50:26 +0000
committerAlan Conway <aconway@apache.org>2006-10-16 13:50:26 +0000
commit8a6ab3aa61d441b9210c05c84dc9998acfc38737 (patch)
tree1eb9d7f39b5c2d04a85a1f66caef3d398567b740 /cpp/src/memory.h
parent9a808fb13aba243d41bbdab75158dae5939a80a4 (diff)
downloadqpid-python-8a6ab3aa61d441b9210c05c84dc9998acfc38737.tar.gz
Build system reorg, see README and Makefile comments for details.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@464494 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/memory.h')
-rw-r--r--cpp/src/memory.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/cpp/src/memory.h b/cpp/src/memory.h
new file mode 100644
index 0000000000..2d65877adb
--- /dev/null
+++ b/cpp/src/memory.h
@@ -0,0 +1,17 @@
+#ifndef __UTIL_MEMORY__
+#define __UTIL_MEMORY__
+
+#if __GNUC__ < 4
+ #include "boost/shared_ptr.hpp"
+ namespace std {
+ namespace tr1 {
+ using boost::shared_ptr;
+ using boost::dynamic_pointer_cast;
+ using boost::static_pointer_cast;
+ }
+ }
+#else
+ #include <tr1/memory>
+#endif
+#endif
+