On 06/13/14 13:34, Grazvydas Ignotas wrote:
On Fri, Jun 13, 2014 at 12:08 PM, Piotr Caban piotr.caban@gmail.com wrote:
On 06/13/14 01:27, Grazvydas Ignotas wrote:
-#define MSVCRT_BUFSIZ 512 +#define MSVCRT_BUFSIZ 4096
You can't change BUFSIZ value.
Why not? This is internal MSVCRT_BUFSIZ from internal header, not the public BUFSIZ one, which is more or less unrelated.
It's there because it's not possible to include msvcrt headers in the dll.
You will also need BUFSIZ==512 for setvbuf implementation.