endpointvolume.h checks not needed since changeset 13078:ae4f9911321a .
authorOzkan Sezer <sezeroz@gmail.com>
Tue, 01 Oct 2019 14:00:02 +0300
changeset 13102f54a77124843
parent 13101 7c641e182926
child 13103 1b1cdbe1cad5
endpointvolume.h checks not needed since changeset 13078:ae4f9911321a .
CMakeLists.txt
Xcode/SDL/SDL.xcodeproj/project.pbxproj
configure
configure.ac
include/SDL_config.h.cmake
include/SDL_config.h.in
include/SDL_config_windows.h
include/SDL_config_winrt.h
     1.1 --- a/CMakeLists.txt	Tue Oct 01 09:26:30 2019 +0200
     1.2 +++ b/CMakeLists.txt	Tue Oct 01 14:00:02 2019 +0300
     1.3 @@ -1294,10 +1294,9 @@
     1.4      set(CMAKE_REQUIRED_FLAGS ${ORIG_CMAKE_REQUIRED_FLAGS})
     1.5    endif()
     1.6  
     1.7 -  # headers needed elsewhere ...
     1.8 +  # headers needed elsewhere
     1.9    check_include_file(mmdeviceapi.h HAVE_MMDEVICEAPI_H)
    1.10    check_include_file(audioclient.h HAVE_AUDIOCLIENT_H)
    1.11 -  check_include_file(endpointvolume.h HAVE_ENDPOINTVOLUME_H)
    1.12  
    1.13    if(SDL_AUDIO)
    1.14      set(SDL_AUDIO_DRIVER_WINMM 1)
     2.1 --- a/configure	Tue Oct 01 09:26:30 2019 +0200
     2.2 +++ b/configure	Tue Oct 01 14:00:02 2019 +0300
     2.3 @@ -23623,14 +23623,6 @@
     2.4  
     2.5      fi
     2.6  
     2.7 -    ac_fn_c_check_header_mongrel "$LINENO" "endpointvolume.h" "ac_cv_header_endpointvolume_h" "$ac_includes_default"
     2.8 -if test "x$ac_cv_header_endpointvolume_h" = xyes; then :
     2.9 -  $as_echo "#define HAVE_ENDPOINTVOLUME_H 1" >>confdefs.h
    2.10 -
    2.11 -fi
    2.12 -
    2.13 -
    2.14 -
    2.15      # Check whether --enable-wasapi was given.
    2.16  if test "${enable_wasapi+set}" = set; then :
    2.17    enableval=$enable_wasapi;
     3.1 --- a/configure.ac	Tue Oct 01 09:26:30 2019 +0200
     3.2 +++ b/configure.ac	Tue Oct 01 14:00:02 2019 +0300
     3.3 @@ -2291,7 +2291,7 @@
     3.4          if test x$video_opengl_egl = xyes; then
     3.5              AC_DEFINE(SDL_VIDEO_OPENGL_EGL, 1, [ ])
     3.6          fi
     3.7 -            
     3.8 +        
     3.9          if test x$enable_video_opengles1 = xyes; then
    3.10              AC_MSG_CHECKING(for OpenGL ES v1 headers)
    3.11              video_opengles_v1=no
    3.12 @@ -3021,8 +3021,6 @@
    3.13          AC_DEFINE(HAVE_AUDIOCLIENT_H,1,[])
    3.14      fi
    3.15  
    3.16 -    AC_CHECK_HEADER(endpointvolume.h,AC_DEFINE(HAVE_ENDPOINTVOLUME_H,1,[]))
    3.17 -
    3.18      AC_ARG_ENABLE(wasapi,
    3.19  AS_HELP_STRING([--enable-wasapi], [use the Windows WASAPI audio driver [[default=yes]]]),
    3.20                                  , enable_wasapi=yes)
    3.21 @@ -3074,7 +3072,7 @@
    3.22                      AC_CHECK_HEADER(libusb.h, [USB_CFLAGS="-DHAVE_LIBUSB_H"])
    3.23                      AC_CHECK_LIB(usb, hid_init, [USB_LIBS="$USB_LIBS -lusb"])
    3.24                  fi
    3.25 -                    
    3.26 +                
    3.27                  save_CFLAGS="$CFLAGS"
    3.28                  CFLAGS="$CFLAGS $USB_CFLAGS"
    3.29  
     4.1 --- a/include/SDL_config.h.cmake	Tue Oct 01 09:26:30 2019 +0200
     4.2 +++ b/include/SDL_config.h.cmake	Tue Oct 01 14:00:02 2019 +0300
     4.3 @@ -211,7 +211,6 @@
     4.4  #cmakedefine HAVE_XINPUT_H @HAVE_XINPUT_H@
     4.5  #cmakedefine HAVE_DXGI_H @HAVE_DXGI_H@
     4.6  
     4.7 -#cmakedefine HAVE_ENDPOINTVOLUME_H @HAVE_ENDPOINTVOLUME_H@
     4.8  #cmakedefine HAVE_MMDEVICEAPI_H @HAVE_MMDEVICEAPI_H@
     4.9  #cmakedefine HAVE_AUDIOCLIENT_H @HAVE_AUDIOCLIENT_H@
    4.10  
     5.1 --- a/include/SDL_config.h.in	Tue Oct 01 09:26:30 2019 +0200
     5.2 +++ b/include/SDL_config.h.in	Tue Oct 01 14:00:02 2019 +0300
     5.3 @@ -33,7 +33,7 @@
     5.4  
     5.5  /* Make sure that this isn't included by Visual C++ */
     5.6  #ifdef _MSC_VER
     5.7 -#error You should run hg revert SDL_config.h 
     5.8 +#error You should run hg revert SDL_config.h
     5.9  #endif
    5.10  
    5.11  /* C language features */
    5.12 @@ -192,9 +192,9 @@
    5.13  #undef HAVE__EXIT
    5.14  
    5.15  #else
    5.16 -#define HAVE_STDARG_H   1
    5.17 -#define HAVE_STDDEF_H   1
    5.18 -#define HAVE_STDINT_H   1
    5.19 +#define HAVE_STDARG_H 1
    5.20 +#define HAVE_STDDEF_H 1
    5.21 +#define HAVE_STDINT_H 1
    5.22  #endif /* HAVE_LIBC */
    5.23  
    5.24  #undef HAVE_ALTIVEC_H
    5.25 @@ -210,7 +210,6 @@
    5.26  #undef HAVE_DSOUND_H
    5.27  #undef HAVE_DXGI_H
    5.28  #undef HAVE_XINPUT_H
    5.29 -#undef HAVE_ENDPOINTVOLUME_H
    5.30  #undef HAVE_MMDEVICEAPI_H
    5.31  #undef HAVE_AUDIOCLIENT_H
    5.32  #undef HAVE_XINPUT_GAMEPAD_EX
     6.1 --- a/include/SDL_config_windows.h	Tue Oct 01 09:26:30 2019 +0200
     6.2 +++ b/include/SDL_config_windows.h	Tue Oct 01 14:00:02 2019 +0300
     6.3 @@ -84,7 +84,6 @@
     6.4  #define HAVE_XINPUT_H 1
     6.5  #define HAVE_MMDEVICEAPI_H 1
     6.6  #define HAVE_AUDIOCLIENT_H 1
     6.7 -#define HAVE_ENDPOINTVOLUME_H 1
     6.8  
     6.9  /* This is disabled by default to avoid C runtime dependencies and manifest requirements */
    6.10  #ifdef HAVE_LIBC
    6.11 @@ -139,7 +138,7 @@
    6.12  #define HAVE_ATAN2  1
    6.13  #define HAVE_ATAN2F 1
    6.14  #define HAVE_CEILF  1
    6.15 -#define HAVE__COPYSIGN  1
    6.16 +#define HAVE__COPYSIGN 1
    6.17  #define HAVE_COS    1
    6.18  #define HAVE_COSF   1
    6.19  #define HAVE_EXP    1
    6.20 @@ -168,7 +167,7 @@
    6.21  #define HAVE_STRTOLL 1
    6.22  #define HAVE_VSSCANF 1
    6.23  #define HAVE_SCALBN 1
    6.24 -#define HAVE_SCALBNF    1
    6.25 +#define HAVE_SCALBNF 1
    6.26  #endif
    6.27  /* This function is available with at least the VC++ 2008 C runtime library */
    6.28  #if _MSC_VER >= 1400
     7.1 --- a/include/SDL_config_winrt.h	Tue Oct 01 09:26:30 2019 +0200
     7.2 +++ b/include/SDL_config_winrt.h	Tue Oct 01 14:00:02 2019 +0300
     7.3 @@ -100,7 +100,6 @@
     7.4  
     7.5  #define HAVE_MMDEVICEAPI_H 1
     7.6  #define HAVE_AUDIOCLIENT_H 1
     7.7 -#define HAVE_ENDPOINTVOLUME_H 1
     7.8  
     7.9  #define HAVE_LIBC 1
    7.10  #define STDC_HEADERS 1