oro_arch.h
Go to the documentation of this file.
1 /***************************************************************************
2  tag: Philippe Hamelin Wed Apr 13 13:02:01 2011 -0400 oro_arch.h
3 
4  oro_arch.h - description
5  -------------------
6  begin : Wed Apr 13 2011
7  copyright : (C) 2005 Peter Soetens
8  copyright : (C) 2011 Philippe Hamelin
9  email : philippe.hamelin@gmail.com
10 
11  ***************************************************************************
12  * This library is free software; you can redistribute it and/or *
13  * modify it under the terms of the GNU General Public *
14  * License as published by the Free Software Foundation; *
15  * version 2 of the License. *
16  * *
17  * As a special exception, you may use this file as part of a free *
18  * software library without restriction. Specifically, if other files *
19  * instantiate templates or use macros or inline functions from this *
20  * file, or you compile this file and link it with other files to *
21  * produce an executable, this file does not by itself cause the *
22  * resulting executable to be covered by the GNU General Public *
23  * License. This exception does not however invalidate any other *
24  * reasons why the executable file might be covered by the GNU General *
25  * Public License. *
26  * *
27  * This library is distributed in the hope that it will be useful, *
28  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
29  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
30  * General Public License for more details. *
31  * *
32  * You should have received a copy of the GNU General Public *
33  * License along with this library; if not, write to the Free Software *
34  * Foundation, Inc., 59 Temple Place, *
35  * Suite 330, Boston, MA 02111-1307 USA *
36  * *
37  ***************************************************************************/
38 
39 
40 #include "../rtt-config.h"
41 
42 # if defined(OROBLD_OS_NO_ASM)
43 # include "oro_noasm/oro_arch.h"
44 # else
45 # if defined(_MSC_VER)
46 # include "oro_msvc/oro_arch.h"
47 # elif defined(__GNUC__)
48 # if ( OROBLD_GCC_VERSION < 40100 || defined(__clang__) )
49 # if defined( OROBLD_OS_ARCH_i386 )
50 # include "oro_i386/oro_arch.h"
51 # elif defined( OROBLD_OS_ARCH_x86_64 )
52 # include "oro_x86_64/oro_arch.h"
53 # elif defined( OROBLD_OS_ARCH_ppc )
54 # include "oro_powerpc/oro_arch.h"
55 # else
56 # error "Unsupported architecture for GCC < 4.1.0 or clang++"
57 # endif
58 # else // GCC >= 4.1.0 has intrinsics. Clang++'s 2.9 intrinsics are broken in C++ code
59 # include "oro_gcc/oro_arch.h"
60 # endif
61 # else
62 # error "Unsupported architecture or compiler"
63 # endif
64 # endif


rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:34