Advertisement
Guest User

Crypto++ MinGW patch

a guest
Oct 29th, 2017
502
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. $ git diff
  2. diff --git a/config.h b/config.h
  3. index 498d917..ba13f27 100644
  4. --- a/config.h
  5. +++ b/config.h
  6. @@ -942,6 +942,10 @@ NAMESPACE_END
  7. # define CRYPTOPP_CXX11_DYNAMIC_INIT 1
  8. #endif // Dynamic Initialization compilers
  9.  
  10. +#ifdef __MINGW32__
  11. +# undef CRYPTOPP_CXX11_DYNAMIC_INIT
  12. +#endif
  13. +
  14. // alignof/alignas: MS at VS2015 (19.00); GCC at 4.8; Clang at 3.0; Intel 15.0; SunCC 5.13.
  15. #if (CRYPTOPP_MSC_VERSION >= 1900) || __has_feature(cxx_alignas) || \
  16. (__INTEL_COMPILER >= 1500) || (CRYPTOPP_GCC_VERSION >= 40800) || (__SUNPRO_CC >= 0x5130)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement