[newlib-cygwin] MSP430: Define __BUFSIZ__ as 256 to prevent default of 1024 being used

Corinna Vinschen corinna@sourceware.org
Thu Jul 20 14:19:00 GMT 2017


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=25138cc2a64e939cd8fb96653319d61845860221

commit 25138cc2a64e939cd8fb96653319d61845860221
Author: Jozef Lawrynowicz <jozef.l@somniumtech.com>
Date:   Mon Jul 10 17:19:00 2017 +0000

    MSP430: Define __BUFSIZ__ as 256 to prevent default of 1024 being used

Diff:
---
 newlib/libc/include/sys/config.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h
index e45aa54..117c49a 100644
--- a/newlib/libc/include/sys/config.h
+++ b/newlib/libc/include/sys/config.h
@@ -154,6 +154,7 @@
 #define _REENT_SMALL
 #endif
 
+#define __BUFSIZ__ 256
 #define __SMALL_BITFIELDS
 
 #ifdef __MSP430X_LARGE__



More information about the Newlib-cvs mailing list