From 915a9a912c3f59a0f24c4e59506933922aa0b17c Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 3 Mar 2010 15:53:02 -0300 Subject: just in case, better to flush error messages --- luaconf.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'luaconf.h') diff --git a/luaconf.h b/luaconf.h index 06b43aba..582b02e3 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.132 2010/01/21 16:49:21 roberto Exp roberto $ +** $Id: luaconf.h,v 1.133 2010/02/18 19:18:41 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -200,7 +200,8 @@ @@ luai_writestringerror defines how to print error messages. ** (A format string with one argument is enough for Lua...) */ -#define luai_writestringerror(s,p) fprintf(stderr, (s), (p)) +#define luai_writestringerror(s,p) \ + (fprintf(stderr, (s), (p)), fflush(stderr)) -- cgit v1.2.3-55-g6feb