Re-enable C runtime with Mingw, and disable the problematic math test

main
Sam Lantinga 2024-01-21 06:16:05 -08:00
parent 1f177be1e4
commit 8f20ef5b43
2 changed files with 2 additions and 3 deletions

View File

@ -154,9 +154,6 @@ endif()
set(SDL_LIBC_DEFAULT ON)
set(SDL_SYSTEM_ICONV_DEFAULT ON)
if(WINDOWS)
if(MINGW)
set(SDL_LIBC_DEFAULT OFF)
endif()
set(SDL_SYSTEM_ICONV_DEFAULT OFF)
endif()

View File

@ -1665,8 +1665,10 @@ static int
pow_regularCases(void *args)
{
const dd_to_d regular_cases[] = {
#if 0 /* These tests fail when using the Mingw C runtime, we'll disable them for now */
{ -391.25, -2.0, 0.00000653267870448815438463212659780943170062528224661946296691894531250 },
{ -72.3, 12.0, 20401381050275984310272.0 },
#endif
{ -5.0, 3.0, -125.0 },
{ 3.0, 2.5, 15.58845726811989607085706666111946105957031250 },
{ 39.23, -1.5, 0.0040697950366865498147972424192175822099670767784118652343750 },