You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

113 lines
4.1 KiB

  1. /* /////////////////////////////////////////////////////////////////////////
  2. * File: platformstl/platformstl.hpp
  3. *
  4. * Purpose: Root header for the PlatformSTL C++ libraries. Performs platform
  5. * discriminations, and definitions of types.
  6. *
  7. * Created: 20th March 2005
  8. * Updated: 21st July 2009
  9. *
  10. * Home: http://stlsoft.org/
  11. *
  12. * Copyright (c) 2005-2009, Matthew Wilson and Synesis Software
  13. * All rights reserved.
  14. *
  15. * Redistribution and use in source and binary forms, with or without
  16. * modification, are permitted provided that the following conditions are met:
  17. *
  18. * - Redistributions of source code must retain the above copyright notice, this
  19. * list of conditions and the following disclaimer.
  20. * - Redistributions in binary form must reproduce the above copyright notice,
  21. * this list of conditions and the following disclaimer in the documentation
  22. * and/or other materials provided with the distribution.
  23. * - Neither the name(s) of Matthew Wilson and Synesis Software nor the names of
  24. * any contributors may be used to endorse or promote products derived from
  25. * this software without specific prior written permission.
  26. *
  27. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  28. * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  29. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  30. * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
  31. * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  32. * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  33. * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  34. * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  35. * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  36. * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  37. * POSSIBILITY OF SUCH DAMAGE.
  38. *
  39. * ////////////////////////////////////////////////////////////////////// */
  40. #ifndef PLATFORMSTL_INCL_PLATFORMSTL_HPP_PLATFORMSTL
  41. #define PLATFORMSTL_INCL_PLATFORMSTL_HPP_PLATFORMSTL
  42. /* File version */
  43. #ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION
  44. # define PLATFORMSTL_VER_PLATFORMSTL_HPP_PLATFORMSTL_MAJOR 1
  45. # define PLATFORMSTL_VER_PLATFORMSTL_HPP_PLATFORMSTL_MINOR 1
  46. # define PLATFORMSTL_VER_PLATFORMSTL_HPP_PLATFORMSTL_REVISION 3
  47. # define PLATFORMSTL_VER_PLATFORMSTL_HPP_PLATFORMSTL_EDIT 16
  48. #endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */
  49. /** \file platformstl/platformstl.hpp
  50. *
  51. * \brief [C++ only] Root header for the
  52. * \ref group__project__platformstl "PlatformSTL" project for C++
  53. * compilation units.
  54. */
  55. /* /////////////////////////////////////////////////////////////////////////
  56. * Includes
  57. */
  58. #ifndef PLATFORMSTL_INCL_PLATFORMSTL_H_PLATFORMSTL
  59. # include <platformstl/platformstl.h>
  60. #endif /* !PLATFORMSTL_INCL_PLATFORMSTL_H_PLATFORMSTL */
  61. #if !defined(__cplusplus)
  62. # error platformstl/platformstl.hpp is only valid within C++ compilation units
  63. #endif /* !__cplusplus */
  64. /* /////////////////////////////////////////////////////////////////////////
  65. * Namespace
  66. */
  67. #if defined(_STLSOFT_NO_NAMESPACE) || \
  68. defined(STLSOFT_DOCUMENTATION_SKIP_SECTION)
  69. /* There is no stlsoft namespace, so must define ::platformstl */
  70. namespace platformstl
  71. {
  72. #else
  73. /* Define stlsoft::platformstl_project */
  74. namespace stlsoft
  75. {
  76. namespace platformstl_project
  77. {
  78. #endif /* _STLSOFT_NO_NAMESPACE */
  79. /* ////////////////////////////////////////////////////////////////////// */
  80. #if defined(_STLSOFT_NO_NAMESPACE) || \
  81. defined(STLSOFT_DOCUMENTATION_SKIP_SECTION)
  82. } // namespace platformstl
  83. #else
  84. } // namespace platformstl_project
  85. } // namespace stlsoft
  86. #endif /* _STLSOFT_NO_NAMESPACE */
  87. /* /////////////////////////////////////////////////////////////////////////
  88. * Inclusion
  89. */
  90. #ifdef STLSOFT_CF_PRAGMA_ONCE_SUPPORT
  91. # pragma once
  92. #endif /* STLSOFT_CF_PRAGMA_ONCE_SUPPORT */
  93. /* ////////////////////////////////////////////////////////////////////// */
  94. #endif /* !PLATFORMSTL_INCL_PLATFORMSTL_HPP_PLATFORMSTL */
  95. /* ///////////////////////////// end of file //////////////////////////// */