[System]: SslStream.Flush() now flushes the underlying stream. Bug #57528. (#5569)
[mono.git] / mcs / jay / reader.c
index 3e63da673c5c289cfd8dea25699c24c3164261f0..9d8fdcb4f2466bc538feaa83c7e3540ad79c21d3 100644 (file)
@@ -40,6 +40,11 @@ static char sccsid[] = "@(#)reader.c 5.7 (Berkeley) 1/20/91";
 
 #include "defs.h"
 
+/* this resolves "unresolved symbol _snprintf" on Windows */   
+#if defined (_MSC_VER)
+#define snprintf _snprintf
+#endif
+
 /*  The line size must be a positive integer.  One hundred was chosen  */
 /*  because few lines in Yacc input grammars exceed 100 characters.    */
 /*  Note that if a line exceeds LINESIZE characters, the line buffer   */