summaryrefslogtreecommitdiff
path: root/include/rtlibc.h
diff options
context:
space:
mode:
authorbernard <[email protected]>2017-10-21 23:26:45 +0800
committerbernard <[email protected]>2017-10-21 23:26:45 +0800
commit1181c5b308e8aa253459469e8276d48dce76285d (patch)
tree2753f329a1419ab8c823e54d1b9c8c047b43336e /include/rtlibc.h
parent252432baf0d744b081c2416eee7c9959b0fb149e (diff)
parent67ffce7af2ce9778966afccd10560b56d887d1e3 (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
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