Don't rely on stdio.h to define EOF, as native stdio.h can conflict with ROS headers

svn path=/trunk/; revision=25419
This commit is contained in:
Hervé Poussineau 2007-01-10 20:02:41 +00:00
parent d9466bc852
commit f1f9bb147e

View file

@ -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.