BVB Source Codes

mars Show config.hpp Source code

Return Download mars: download config.hpp Source code - Download mars Source code - Type:.hpp
  1. //  config.hpp  --------------------------------------------------------------//
  2.  
  3. //  Copyright 2013 Andrey Semashev
  4.  
  5. //  Distributed under the Boost Software License, Version 1.0.
  6. //  See http://www.boost.org/LICENSE_1_0.txt
  7.  
  8.  
  9. #ifndef BOOST_DETAIL_WINAPI_CONFIG_HPP_INCLUDED_
  10. #define BOOST_DETAIL_WINAPI_CONFIG_HPP_INCLUDED_
  11.  
  12. #include <boost/config.hpp>
  13. #if defined __MINGW32__
  14. #include <_mingw.h>
  15. #endif
  16.  
  17. #ifdef BOOST_HAS_PRAGMA_ONCE
  18. #pragma once
  19. #endif
  20.  
  21. // BOOST_WINAPI_IS_MINGW indicates that the target Windows SDK is provided by MinGW (http://mingw.org/).
  22. // BOOST_WINAPI_IS_MINGW_W64 indicates that the target Windows SDK is provided by MinGW-w64 (http://mingw-w64.org).
  23. #if defined __MINGW32__
  24. #if defined __MINGW64_VERSION_MAJOR
  25. #define BOOST_WINAPI_IS_MINGW_W64
  26. #else
  27. #define BOOST_WINAPI_IS_MINGW
  28. #endif
  29. #endif
  30.  
  31. // These constants reflect _WIN32_WINNT_* macros from sdkddkver.h
  32. // See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383745%28v=vs.85%29.aspx#setting_winver_or__win32_winnt
  33. #define BOOST_WINAPI_VERSION_NT4 0x0400
  34. #define BOOST_WINAPI_VERSION_WIN2K 0x0500
  35. #define BOOST_WINAPI_VERSION_WINXP 0x0501
  36. #define BOOST_WINAPI_VERSION_WS03 0x0502
  37. #define BOOST_WINAPI_VERSION_WIN6 0x0600
  38. #define BOOST_WINAPI_VERSION_VISTA 0x0600
  39. #define BOOST_WINAPI_VERSION_WS08 0x0600
  40. #define BOOST_WINAPI_VERSION_LONGHORN 0x0600
  41. #define BOOST_WINAPI_VERSION_WIN7 0x0601
  42. #define BOOST_WINAPI_VERSION_WIN8 0x0602
  43. #define BOOST_WINAPI_VERSION_WINBLUE 0x0603
  44. #define BOOST_WINAPI_VERSION_WINTHRESHOLD 0x0A00
  45. #define BOOST_WINAPI_VERSION_WIN10 0x0A00
  46.  
  47. #if !defined(BOOST_USE_WINAPI_VERSION)
  48. #if defined(_WIN32_WINNT)
  49. #define BOOST_USE_WINAPI_VERSION _WIN32_WINNT
  50. #elif defined(WINVER)
  51. #define BOOST_USE_WINAPI_VERSION WINVER
  52. #else
  53. // By default use Windows Vista API on compilers that support it and XP on the others
  54. #if (defined(_MSC_VER) && _MSC_VER <= 1400) || defined(BOOST_WINAPI_IS_MINGW)
  55. #define BOOST_USE_WINAPI_VERSION BOOST_WINAPI_VERSION_WINXP
  56. #else
  57. #define BOOST_USE_WINAPI_VERSION BOOST_WINAPI_VERSION_WIN6
  58. #endif
  59. #endif
  60. #endif
  61.  
  62. #if defined(BOOST_USE_WINDOWS_H)
  63. // We have to define the version macros so that windows.h provides the necessary symbols
  64. #if !defined(_WIN32_WINNT)
  65. #define _WIN32_WINNT BOOST_USE_WINAPI_VERSION
  66. #endif
  67. #if !defined(WINVER)
  68. #define WINVER BOOST_USE_WINAPI_VERSION
  69. #endif
  70. #endif
  71.  
  72. #endif // BOOST_DETAIL_WINAPI_CONFIG_HPP_INCLUDED_
  73.  
downloadconfig.hpp Source code - Download mars Source code
Related Source Codes/Software:
Hero - Elegant transition library for iOS & tvOS 2017-06-09
deep-photo-styletransfer - Code and data for paper "Deep Photo Style Transfer... 2017-06-09
mastodon - A GNU Social-compatible microblogging server ... 2017-06-09
plyr - A simple HTML5, YouTube and Vimeo player ... 2017-06-08
prepack - Prepack is a partial evaluator for JavaScript. Pre... 2017-06-08
Public-APIs - 2017-06-09
lottie-ios - An iOS library to natively render After Effects ve... 2017-06-09
Awesome-Hacking - A collection of various awesome lists for hackers,... 2017-06-09
algorithms - Minimal examples of data structures and algorithms... 2017-06-10
lectures - Oxford Deep NLP 2017 course 2017-06-10
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top