diff options
| author | Alan Conway <aconway@apache.org> | 2006-10-16 13:50:26 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2006-10-16 13:50:26 +0000 |
| commit | c0e2b3586a64acbd2f2a46e3b79384cab76e6ddd (patch) | |
| tree | 8d92c6051648f0ed8f1e1f528d97a3c02da4855e /qpid/cpp/src/memory.h | |
| parent | 39cad9398e213a4ec5678d21edcca17dba39871f (diff) | |
| download | qpid-python-c0e2b3586a64acbd2f2a46e3b79384cab76e6ddd.tar.gz | |
Build system reorg, see README and Makefile comments for details.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@464494 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/memory.h')
| -rw-r--r-- | qpid/cpp/src/memory.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/qpid/cpp/src/memory.h b/qpid/cpp/src/memory.h new file mode 100644 index 0000000000..2d65877adb --- /dev/null +++ b/qpid/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 + |
