mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-08-16 09:48:08 +02:00
Double line buffer size because we expect more MBCS input #1
This commit is contained in:
@ -57,11 +57,11 @@
|
|||||||
* (This should have been done via sysconf(), but I didn't do it in order
|
* (This should have been done via sysconf(), but I didn't do it in order
|
||||||
* to ease porting to non-unix platforms.)
|
* to ease porting to non-unix platforms.)
|
||||||
*/
|
*/
|
||||||
#if defined(LINE_MAX_BYTES) && (LINE_MAX_BYTES < 1024)
|
#if defined(LINE_MAX_BYTES) && (LINE_MAX_BYTES < 2048)
|
||||||
#undef LINE_MAX_BYTES
|
#undef LINE_MAX_BYTES
|
||||||
#endif
|
#endif
|
||||||
#ifndef LINE_MAX_BYTES
|
#ifndef LINE_MAX_BYTES
|
||||||
#define LINE_MAX_BYTES 2048
|
#define LINE_MAX_BYTES 4096
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user