00001 //#include "../rtt-config.h" 00002 00003 00004 # if defined(_MSC_VER) 00005 # include "generic/dataobjectlockfree/os/oro_msvc/oro_arch.h" 00006 # elif defined(__GNUC__) 00007 # if ( OROBLD_GCC_VERSION < 40100 || defined(__clang__) ) 00008 # if defined( OROBLD_OS_ARCH_i386 ) 00009 # include "generic/dataobjectlockfree/os/oro_i386/oro_arch.h" 00010 # elif defined( OROBLD_OS_ARCH_x86_64 ) 00011 # include "generic/dataobjectlockfree/os/oro_x86_64/oro_arch.h" 00012 # elif defined( OROBLD_OS_ARCH_ppc ) 00013 # include "generic/dataobjectlockfree/os/oro_powerpc/oro_arch.h" 00014 # else 00015 # error "Unsupported architecture for GCC < 4.1.0 or clang++" 00016 # endif 00017 # else // GCC >= 4.1.0 has intrinsics. Clang++'s 2.9 intrinsics are broken in C++ code 00018 # include "generic/dataobjectlockfree/os/oro_gcc/oro_arch.h" 00019 # endif 00020 # else 00021 # error "Unsupported architecture or compiler" 00022 # endif