summaryrefslogtreecommitdiffstats
path: root/common/t-sysutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/t-sysutils.c')
-rw-r--r--common/t-sysutils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/t-sysutils.c b/common/t-sysutils.c
index 45d359e7b..9b19d88ce 100644
--- a/common/t-sysutils.c
+++ b/common/t-sysutils.c
@@ -24,6 +24,10 @@
#include "util.h"
#include "sysutils.h"
+#ifdef HAVE_W32CE_SYSTEM
+# define rewind(f) do { fseek (f, 0, SEEK_SET); clearerr (f); } while (0)
+#endif
+
#define pass() do { ; } while(0)
#define fail(a) do { fprintf (stderr, "%s:%d: test %d failed\n",\
__FILE__,__LINE__, (a)); \