1 | /**************************************************************************** |
2 | ** |
3 | ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). |
4 | ** Contact: http://www.qt-project.org/legal |
5 | ** |
6 | ** This file is part of the QtCore module of the Qt Toolkit. |
7 | ** |
8 | ** $QT_BEGIN_LICENSE:LGPL$ |
9 | ** Commercial License Usage |
10 | ** Licensees holding valid commercial Qt licenses may use this file in |
11 | ** accordance with the commercial license agreement provided with the |
12 | ** Software or, alternatively, in accordance with the terms contained in |
13 | ** a written agreement between you and Digia. For licensing terms and |
14 | ** conditions see http://qt.digia.com/licensing. For further information |
15 | ** use the contact form at http://qt.digia.com/contact-us. |
16 | ** |
17 | ** GNU Lesser General Public License Usage |
18 | ** Alternatively, this file may be used under the terms of the GNU Lesser |
19 | ** General Public License version 2.1 as published by the Free Software |
20 | ** Foundation and appearing in the file LICENSE.LGPL included in the |
21 | ** packaging of this file. Please review the following information to |
22 | ** ensure the GNU Lesser General Public License version 2.1 requirements |
23 | ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
24 | ** |
25 | ** In addition, as a special exception, Digia gives you certain additional |
26 | ** rights. These rights are described in the Digia Qt LGPL Exception |
27 | ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
28 | ** |
29 | ** GNU General Public License Usage |
30 | ** Alternatively, this file may be used under the terms of the GNU |
31 | ** General Public License version 3.0 as published by the Free Software |
32 | ** Foundation and appearing in the file LICENSE.GPL included in the |
33 | ** packaging of this file. Please review the following information to |
34 | ** ensure the GNU General Public License version 3.0 requirements will be |
35 | ** met: http://www.gnu.org/copyleft/gpl.html. |
36 | ** |
37 | ** |
38 | ** $QT_END_LICENSE$ |
39 | ** |
40 | ****************************************************************************/ |
41 | |
42 | #ifndef QATOMIC_ARCH_H |
43 | #define QATOMIC_ARCH_H |
44 | |
45 | QT_BEGIN_HEADER |
46 | |
47 | #include "QtCore/qglobal.h" |
48 | |
49 | #if defined(QT_ARCH_INTEGRITY) |
50 | # include "QtCore/qatomic_integrity.h" |
51 | #elif defined(QT_ARCH_VXWORKS) |
52 | # include "QtCore/qatomic_vxworks.h" |
53 | #elif defined(QT_ARCH_ALPHA) |
54 | # include "QtCore/qatomic_alpha.h" |
55 | #elif defined(QT_ARCH_ARM) |
56 | # include "QtCore/qatomic_arm.h" |
57 | #elif defined(QT_ARCH_ARMV6) |
58 | # include "QtCore/qatomic_armv6.h" |
59 | #elif defined(QT_ARCH_AVR32) |
60 | # include "QtCore/qatomic_avr32.h" |
61 | #elif defined(QT_ARCH_BFIN) |
62 | # include "QtCore/qatomic_bfin.h" |
63 | #elif defined(QT_ARCH_GENERIC) |
64 | # include "QtCore/qatomic_generic.h" |
65 | #elif defined(QT_ARCH_I386) |
66 | # include "QtCore/qatomic_i386.h" |
67 | #elif defined(QT_ARCH_IA64) |
68 | # include "QtCore/qatomic_ia64.h" |
69 | #elif defined(QT_ARCH_M68K) |
70 | # include "QtCore/qatomic_m68k.h" |
71 | #elif defined(QT_ARCH_MACOSX) |
72 | # include "QtCore/qatomic_macosx.h" |
73 | #elif defined(QT_ARCH_MIPS) |
74 | # include "QtCore/qatomic_mips.h" |
75 | #elif defined(QT_ARCH_PARISC) |
76 | # include "QtCore/qatomic_parisc.h" |
77 | #elif defined(QT_ARCH_POWERPC) |
78 | # include "QtCore/qatomic_powerpc.h" |
79 | #elif defined(QT_ARCH_S390) |
80 | # include "QtCore/qatomic_s390.h" |
81 | #elif defined(QT_ARCH_SPARC) |
82 | # include "QtCore/qatomic_sparc.h" |
83 | #elif defined(QT_ARCH_WINDOWS) |
84 | # include "QtCore/qatomic_windows.h" |
85 | #elif defined(QT_ARCH_WINDOWSCE) |
86 | # include "QtCore/qatomic_windowsce.h" |
87 | #elif defined(QT_ARCH_X86_64) |
88 | # include "QtCore/qatomic_x86_64.h" |
89 | #elif defined(QT_ARCH_SYMBIAN) |
90 | # include "QtCore/qatomic_symbian.h" |
91 | #elif defined(QT_ARCH_SH) |
92 | # include "QtCore/qatomic_sh.h" |
93 | #elif defined(QT_ARCH_SH4A) |
94 | # include "QtCore/qatomic_sh4a.h" |
95 | #elif defined(QT_ARCH_NACL) |
96 | # include "QtCore/qatomic_generic.h" |
97 | #else |
98 | # error "Qt has not been ported to this architecture" |
99 | #endif |
100 | |
101 | QT_END_HEADER |
102 | |
103 | #endif // QATOMIC_ARCH_H |
104 | |