summaryrefslogtreecommitdiff
path: root/include/rtlibc.h
diff options
context:
space:
mode:
authoryygg_you <[email protected]>2017-10-20 13:26:47 +0800
committeryygg_you <[email protected]>2017-10-20 13:26:47 +0800
commit2d0c10a0ca78bc4257ce9e5be9e222745c0dc0a7 (patch)
treef7a237ec341e73822ba8d44bfdc613c551e9f5d7 /include/rtlibc.h
parente448ecc6ad805109480ecc191f0e2d786216a297 (diff)
修改simulator,匹配RTT 3.0
Diffstat (limited to 'include/rtlibc.h')
-rw-r--r--include/rtlibc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/rtlibc.h b/include/rtlibc.h
index 5d6b5a78e3..757329a22c 100644
--- a/include/rtlibc.h
+++ b/include/rtlibc.h
@@ -38,5 +38,10 @@
typedef signed long off_t;
#endif
+#if defined(__MINGW32__)
+typedef signed long off_t;
+typedef int mode_t;
+#endif
+
#endif