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