1. 13 Apr, 2017 1 commit
    • Aaron Levinson's avatar
      Support building C++ files with MSVC · bceb3d0f
      Aaron Levinson authored
      Made appropriate changes to be able to successfully
      build C++ files using a Visual C++ build on Windows.
      
      Based on an earlier patch by Kyle Schwarz.
      
      Comments:
      
      -- compat/w32pthreads.h: Made appropriate changes to w32pthreads.h to
         get it to build when it is being included in a C++ file and built
         with Visual C++.  This is mostly a copy of Kyle Schwarz's patch as
         described above.
      
      -- configure:
      a) Now calling set_ccvars CXX to cause the various CXX_ variables to
         be setup properly.  For example, with MSVC (Microsoft Visual C++),
         this causes CXX_O to be set to -Fo$@ instead of using the default
         value.  The default value does not work with Visual C++.  This
         change will also have the impact of correcting CXX_O (and possibly
         CXX_C) for other compilers, although this is really only relevant
         for the Intel compiler, in addition to MSVC.
      b) Now using cl for the C++ compiler for the MSVC toolchain.  This is
         currently only relevant for building the
         Blackmagic/Decklink-related files under avdevice.
      Signed-off-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
      bceb3d0f
  2. 24 Nov, 2016 1 commit
  3. 31 Jan, 2016 1 commit
  4. 30 Oct, 2015 1 commit
  5. 16 Oct, 2015 2 commits
  6. 15 Oct, 2015 1 commit
  7. 07 Oct, 2015 2 commits
  8. 30 Sep, 2015 1 commit
  9. 10 Oct, 2014 2 commits
  10. 09 Oct, 2014 2 commits
  11. 15 Aug, 2014 1 commit
  12. 13 Aug, 2014 1 commit
    • Martin Storsjö's avatar
      w32threads: Use newer thread synchronization functions when targeting Vista · 428b0578
      Martin Storsjö authored
      When explicitly targeting Vista or newer (which only happens if the
      caller explicitly sets _WIN32_WINNT to a high enough value via the
      extra cflags option - otherwise configure script sets
      -D_WIN32_WINNT=0x0502), we already unconditionally link to the
      ConditionVariable functions, since 4622f11f.
      
      Similarly use the newer -Ex versions of CreateEvent, CreateSemaphore,
      InitializeCriticalSection and WaitForSingleObject, that all appeared
      in Vista. When building Windows Store applications, the older versions
      of these functions aren't available, only the -Ex functions. When
      doing such a build, the user can set -D_WIN32_WINNT=0x0600 to
      forcibly use the newer functions instead.
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      428b0578
  13. 26 May, 2014 1 commit
  14. 27 Aug, 2013 2 commits
  15. 21 Aug, 2013 1 commit
  16. 18 Jul, 2013 1 commit
  17. 24 May, 2013 1 commit
  18. 19 May, 2013 1 commit
  19. 06 Oct, 2012 1 commit
  20. 14 Aug, 2012 1 commit
  21. 14 Jul, 2012 1 commit
  22. 04 Apr, 2012 2 commits
  23. 23 Dec, 2011 1 commit
  24. 21 Dec, 2011 1 commit
  25. 07 Dec, 2011 1 commit
  26. 05 Nov, 2011 1 commit
  27. 16 Oct, 2011 1 commit