Qore Programming Language  0.9.16
macros.h
1 /* -*- mode: c++; indent-tabs-mode: nil -*- */
2 /*
3  Qore Programming Language
4 
5  Copyright (C) 2003 - 2020 David Nichols
6 
7  Permission is hereby granted, free of charge, to any person obtaining a
8  copy of this software and associated documentation files (the "Software"),
9  to deal in the Software without restriction, including without limitation
10  the rights to use, copy, modify, merge, publish, distribute, sublicense,
11  and/or sell copies of the Software, and to permit persons to whom the
12  Software is furnished to do so, subject to the following conditions:
13 
14  The above copyright notice and this permission notice shall be included in
15  all copies or substantial portions of the Software.
16 
17  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23  DEALINGS IN THE SOFTWARE.
24 
25  Note that the Qore library is released under a choice of three open-source
26  licenses: MIT (as above), LGPL 2+, or GPL 2+; see README-LICENSE for more
27  information.
28 */
29 
30 #ifndef _QORE_MACROS_H
31 #define _QORE_MACROS_H
32 
33 // include the right assembly macro file for the current architecture
34 
35 #ifdef __i386
36 #include <qore/macros-i386.h>
37 #endif // #ifdef __i386
38 
39 #ifdef __x86_64
40 #include <qore/macros-x86_64.h>
41 #endif // #ifdef __x86_64
42 
43 #ifdef __sparc
44 #include <qore/macros-sparc.h>
45 #endif // #ifdef __sparc
46 
47 #if defined(__ppc) || defined(__ppc__)
48 #include <qore/macros-powerpc.h>
49 #endif // #ifdef __ppc
50 
51 #if defined(__ppc64) || defined(__ppc64__)
52 #include <qore/macros-ppc64.h>
53 #endif // #ifdef __ppc64
54 
55 #ifdef __hppa
56 #include <qore/macros-parisc.h>
57 #endif // #ifdef __hppa
58 
59 #ifdef __ia64
60 #include <qore/macros-ia64.h>
61 #endif // #ifdef __ia64
62 
63 #ifdef __arm__
64 #include <qore/macros-arm.h>
65 #endif // #ifdef __arm__
66 
67 #ifdef __aarch64__
68 #include <qore/macros-aarch64.h>
69 #endif // #ifdef __aarch64__
70 
71 #endif // #ifndef _QORE_MACROS_H