summaryrefslogtreecommitdiff
path: root/include/rtlibc.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2017-11-30 23:55:26 +0800
committerGitHub <[email protected]>2017-11-30 23:55:26 +0800
commitbaeb63dbf02776edf1a9d6d2513b743f6ae50954 (patch)
treed49a61e59202c15390260732482cf6464358ba6a /include/rtlibc.h
parentf004ff16f7b1a5399075026570e2195d6d3df284 (diff)
parentae7237dc53540897a9ea40e145122276bd0b9ddc (diff)
Merge pull request #1066 from BernardXiong/master
[DFS] fix the filesystem_operation_table issue.
Diffstat (limited to 'include/rtlibc.h')
-rw-r--r--include/rtlibc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtlibc.h b/include/rtlibc.h
index da126e67e6..db5236edb1 100644
--- a/include/rtlibc.h
+++ b/include/rtlibc.h
@@ -40,7 +40,7 @@ typedef signed long off_t;
typedef int mode_t;
#endif
-#if defined(__MINGW32__)
+#if defined(__MINGW32__) || defined(_WIN32)
typedef signed long off_t;
typedef int mode_t;
#endif