check for HAVE_ROAPI_H in cmake and autotools, and

update SDL_config_windows.h and SDL_config_winrt.h
This commit is contained in:
Ozkan Sezer
2022-04-02 02:50:02 +03:00
parent 575dadb11d
commit c0bb39e5e9
7 changed files with 40 additions and 15 deletions

35
configure vendored
View File

@@ -24779,6 +24779,30 @@ $as_echo "$have_wince" >&6; }
# This fixes Windows stack alignment with newer GCC
CheckStackBoundary
# headers needed elsewhere
ac_fn_c_check_header_mongrel "$LINENO" "tpcshrd.h" "ac_cv_header_tpcshrd_h" "$ac_includes_default"
if test "x$ac_cv_header_tpcshrd_h" = xyes; then :
have_tpcshrd_h=yes
fi
if test x$have_tpcshrd_h = xyes; then
$as_echo "#define HAVE_TPCSHRD_H 1" >>confdefs.h
fi
ac_fn_c_check_header_mongrel "$LINENO" "roapi.h" "ac_cv_header_roapi_h" "$ac_includes_default"
if test "x$ac_cv_header_roapi_h" = xyes; then :
have_roapi_h=yes
fi
if test x$have_roapi_h = xyes; then
$as_echo "#define HAVE_ROAPI_H 1" >>confdefs.h
fi
}
CheckOS2()
@@ -26255,17 +26279,6 @@ $as_echo "#define SDL_HAPTIC_DINPUT 1" >>confdefs.h
have_haptic=yes
fi
fi
ac_fn_c_check_header_mongrel "$LINENO" "tpcshrd.h" "ac_cv_header_tpcshrd_h" "$ac_includes_default"
if test "x$ac_cv_header_tpcshrd_h" = xyes; then :
have_tpcshrd_h=yes
fi
if test x$have_tpcshrd_h = xyes; then
$as_echo "#define HAVE_TPCSHRD_H 1" >>confdefs.h
fi
# Set up files for the sensor library
ac_fn_c_check_header_mongrel "$LINENO" "sensorsapi.h" "ac_cv_header_sensorsapi_h" "$ac_includes_default"
if test "x$ac_cv_header_sensorsapi_h" = xyes; then :