qatomic_arch.h
上传用户:detong
上传日期:2022-06-22
资源大小:20675k
文件大小:3k
源码类别:

系统编程

开发平台:

Unix_Linux

  1. /****************************************************************************
  2. **
  3. ** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
  4. ** Contact: Qt Software Information (qt-info@nokia.com)
  5. **
  6. ** This file is part of the QtCore module of the Qt Toolkit.
  7. **
  8. ** Commercial Usage
  9. ** Licensees holding valid Qt Commercial licenses may use this file in
  10. ** accordance with the Qt Commercial License Agreement provided with the
  11. ** Software or, alternatively, in accordance with the terms contained in
  12. ** a written agreement between you and Nokia.
  13. **
  14. **
  15. ** GNU General Public License Usage
  16. ** Alternatively, this file may be used under the terms of the GNU
  17. ** General Public License versions 2.0 or 3.0 as published by the Free
  18. ** Software Foundation and appearing in the file LICENSE.GPL included in
  19. ** the packaging of this file.  Please review the following information
  20. ** to ensure GNU General Public Licensing requirements will be met:
  21. ** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
  22. ** http://www.gnu.org/copyleft/gpl.html.  In addition, as a special
  23. ** exception, Nokia gives you certain additional rights. These rights
  24. ** are described in the Nokia Qt GPL Exception version 1.3, included in
  25. ** the file GPL_EXCEPTION.txt in this package.
  26. **
  27. ** Qt for Windows(R) Licensees
  28. ** As a special exception, Nokia, as the sole copyright holder for Qt
  29. ** Designer, grants users of the Qt/Eclipse Integration plug-in the
  30. ** right for the Qt/Eclipse Integration to link to functionality
  31. ** provided by Qt Designer and its related libraries.
  32. **
  33. ** If you are unsure which license is appropriate for your use, please
  34. ** contact the sales department at qt-sales@nokia.com.
  35. **
  36. ****************************************************************************/
  37. #ifndef QATOMIC_ARCH_H
  38. #define QATOMIC_ARCH_H
  39. QT_BEGIN_HEADER
  40. #include "QtCore/qglobal.h"
  41. #if defined(QT_ARCH_ALPHA)
  42. #  include "QtCore/qatomic_alpha.h"
  43. #elif defined(QT_ARCH_ARM)
  44. #  include "QtCore/qatomic_arm.h"
  45. #elif defined(QT_ARCH_AVR32)
  46. #  include "QtCore/qatomic_avr32.h"
  47. #elif defined(QT_ARCH_BFIN)
  48. #  include "QtCore/qatomic_bfin.h"
  49. #elif defined(QT_ARCH_GENERIC)
  50. #  include "QtCore/qatomic_generic.h"
  51. #elif defined(QT_ARCH_I386)
  52. #  include "QtCore/qatomic_i386.h"
  53. #elif defined(QT_ARCH_IA64)
  54. #  include "QtCore/qatomic_ia64.h"
  55. #elif defined(QT_ARCH_MACOSX)
  56. #  include "QtCore/qatomic_macosx.h"
  57. #elif defined(QT_ARCH_MIPS)
  58. #  include "QtCore/qatomic_mips.h"
  59. #elif defined(QT_ARCH_PARISC)
  60. #  include "QtCore/qatomic_parisc.h"
  61. #elif defined(QT_ARCH_POWERPC)
  62. #  include "QtCore/qatomic_powerpc.h"
  63. #elif defined(QT_ARCH_S390)
  64. #  include "QtCore/qatomic_s390.h"
  65. #elif defined(QT_ARCH_SPARC)
  66. #  include "QtCore/qatomic_sparc.h"
  67. #elif defined(QT_ARCH_WINDOWS)
  68. #  include "QtCore/qatomic_windows.h"
  69. #elif defined(QT_ARCH_WINDOWSCE)
  70. #  include "QtCore/qatomic_windowsce.h"
  71. #elif defined(QT_ARCH_X86_64)
  72. #  include "QtCore/qatomic_x86_64.h"
  73. #else
  74. #  error "Qt has not been ported to this architecture"
  75. #endif
  76. QT_END_HEADER
  77. #endif // QATOMIC_ARCH_H