Merge commit '7ac092d05de487d088bc96ab4a7bd6207fbfa98c'
authorJames Almer <jamrial@gmail.com>
Sat, 11 Nov 2017 19:53:19 +0000 (16:53 -0300)
committerJames Almer <jamrial@gmail.com>
Sat, 11 Nov 2017 19:53:19 +0000 (16:53 -0300)
* commit '7ac092d05de487d088bc96ab4a7bd6207fbfa98c':
  build: CryptGenRandom --> wincrypt, it is a better name

Merged-by: James Almer <jamrial@gmail.com>
1  2 
configure
libavutil/random_seed.c

diff --cc configure
+++ b/configure
@@@ -2112,7 -1705,7 +2111,8 @@@ HAVE_LIST=
      vaapi_drm
      vaapi_x11
      vdpau_x11
 +    winrt
+     wincrypt
  "
  
  # options emitted with CONFIG_ prefix but not available on the command line
  #if HAVE_UNISTD_H
  #include <unistd.h>
  #endif
- #if HAVE_CRYPTGENRANDOM
 +#if HAVE_IO_H
 +#include <io.h>
 +#endif
+ #if HAVE_WINCRYPT
  #include <windows.h>
  #include <wincrypt.h>
  #endif