diff --git a/racket/src/cs/rumble/system.ss b/racket/src/cs/rumble/system.ss index de9ecfd1e2..e614c62e19 100644 --- a/racket/src/cs/rumble/system.ss +++ b/racket/src/cs/rumble/system.ss @@ -51,6 +51,7 @@ a6nt ta6nt a6le ta6le a6ob ta6ob + a6nb ta6nb a6fb ta6fb a6s2 ta6s2) 'x86_64] @@ -58,6 +59,7 @@ i3nt ti3nt i3le ti3le i3ob ti3ob + i3nb ti3nb i3fb ti3fb i3s2 ti3s2 i3qnx) diff --git a/racket/src/rktio/configure b/racket/src/rktio/configure index da6931ea1b..879f46c6b6 100755 --- a/racket/src/rktio/configure +++ b/racket/src/rktio/configure @@ -4227,6 +4227,8 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #include int main() { locale_t l = newlocale(LC_COLLATE_MASK | LC_CTYPE_MASK, "C", NULL); + locale_t old_l = uselocale(l); + uselocale(old_l); freelocale(l); return 0; } diff --git a/racket/src/rktio/configure.ac b/racket/src/rktio/configure.ac index 830d7fbe1f..c479240c74 100644 --- a/racket/src/rktio/configure.ac +++ b/racket/src/rktio/configure.ac @@ -182,6 +182,8 @@ AC_LINK_IFELSE([AC_LANG_SOURCE([ #include int main() { locale_t l = newlocale(LC_COLLATE_MASK | LC_CTYPE_MASK, "C", NULL); + locale_t old_l = uselocale(l); + uselocale(old_l); freelocale(l); return 0; }])],