Chez Scheme: avoid uselocale on more Solaris

A refinment to a86cf525ef, which moves the no-`uselocale`
declaration to a more reliable place.
This commit is contained in:
Matthew Flatt 2020-10-21 12:11:17 -06:00
parent 279412d316
commit c3dbc3dd2a
2 changed files with 1 additions and 1 deletions

View File

@ -539,7 +539,6 @@ static void s_ee_write_char(wchar_t c) {
# define CHTYPE int
# include </usr/include/curses.h>
# include </usr/include/term.h>
# define NO_USELOCALE
#elif defined(NETBSD)
# include <ncurses.h>
# include <ncurses/term.h>

View File

@ -384,6 +384,7 @@ typedef int tputsputcchar;
#define ARCHYPERBOLIC
#define LOG1P
#define DEFINE_MATHERR
#define NO_USELOCALE
#define GETPAGESIZE() getpagesize()
typedef char *memcpy_t;
#define MAKE_NAN(x) { x = 0.0; x = x / x; }