memory.h
00001 #ifndef VVELIB_UTIL_MEMORY_H
00002 #define VVELIB_UTIL_MEMORY_H
00003
00004 #include <config.h>
00005
00006 #ifdef __GNUC__
00007 # include <util/features.h>
00008 # ifdef __GXX_EXPERIMENTAL_CXX0X__
00009 # include <memory>
00010 # elif __GNUC_PREREQ(4,0)
00011 # include <tr1/memory>
00012 # ifndef CXX_NEEDS_TR1
00013 # define CXX_NEEDS_TR1
00014 # endif
00015 namespace std
00016 {
00017 using namespace std::tr1;
00018 }
00019 # else
00020 # error "GCC do not have tr1 memory before the version 4.0"
00021 # endif
00022 #else
00023 # error "memory include is not identified for your compiler"
00024 #endif
00025
00026 #endif // VVELIB_UTIL_MEMORY_H
00027