This repository has no description

fix: replace hardcoded locale.h constants with build-system TranslateC master

Replace hardcoded locale.h constants and extern function declarations with build-system TranslateC, following the same pattern as pty.c. This fixes LC_ALL being hardcoded to 6 (musl/glibc value), which is implementation-defined and differs on Windows MSVC (where LC_ALL is 0), causing setlocale() to crash with an invalid parameter error.


+26 -6
3 changed files