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