Orocos Real-Time Toolkit  2.9.0
oro_arch.h
Go to the documentation of this file.
1 #include "../rtt-config.h"
2 
3 # if defined(OROBLD_OS_NO_ASM)
4 # include "oro_noasm/oro_arch.h"
5 # else
6 # if defined(_MSC_VER)
7 # include "oro_msvc/oro_arch.h"
8 # elif defined(__GNUC__)
9 # if ( OROBLD_GCC_VERSION < 40100 || defined(__clang__) )
10 # if defined( OROBLD_OS_ARCH_i386 )
11 # include "oro_i386/oro_arch.h"
12 # elif defined( OROBLD_OS_ARCH_x86_64 )
13 # include "oro_x86_64/oro_arch.h"
14 # elif defined( OROBLD_OS_ARCH_ppc )
15 # include "oro_powerpc/oro_arch.h"
16 # else
17 # error "Unsupported architecture for GCC < 4.1.0 or clang++"
18 # endif
19 # else // GCC >= 4.1.0 has intrinsics. Clang++'s 2.9 intrinsics are broken in C++ code
20 # include "oro_gcc/oro_arch.h"
21 # endif
22 # else
23 # error "Unsupported architecture or compiler"
24 # endif
25 # endif