Author: hpoussin
Date: Wed Jan 10 23:02:41 2007
New Revision: 25419
URL:
http://svn.reactos.org/svn/reactos?rev=25419&view=rev
Log:
Don't rely on stdio.h to define EOF, as native stdio.h can conflict with ROS headers
Modified:
trunk/reactos/lib/string/sscanf.c
Modified: trunk/reactos/lib/string/sscanf.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/string/sscanf.c?rev=25…
==============================================================================
--- trunk/reactos/lib/string/sscanf.c (original)
+++ trunk/reactos/lib/string/sscanf.c Wed Jan 10 23:02:41 2007
@@ -5,7 +5,8 @@
#include <ndk/rtlfuncs.h>
#include <stdlib.h>
#include <stdarg.h>
-#include <stdio.h>
+
+#define EOF (-1)
/* helper function for *scanf. Returns the value of character c in the
* given base, or -1 if the given character is not a digit of the base.