/extlibs/Boost/include/boost/config/abi/msvc_prefix.hpp

https://bitbucket.org/hugoruscitti/pilascpp · C++ Header · 22 lines · 5 code · 3 blank · 14 comment · 0 complexity · fdf8fa2631ce5ce5a69ddaf6d0a3d296 MD5 · raw file

  1. // (C) Copyright John Maddock 2003.
  2. // Use, modification and distribution are subject to the
  3. // Boost Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. //
  6. // Boost binaries are built with the compiler's default ABI settings,
  7. // if the user changes their default alignment in the VS IDE then their
  8. // code will no longer be binary compatible with the bjam built binaries
  9. // unless this header is included to force Boost code into a consistent ABI.
  10. //
  11. // Note that inclusion of this header is only necessary for libraries with
  12. // separate source, header only libraries DO NOT need this as long as all
  13. // translation units are built with the same options.
  14. //
  15. #if defined(_M_X64)
  16. # pragma pack(push,16)
  17. #else
  18. # pragma pack(push,8)
  19. #endif