aboutsummaryrefslogtreecommitdiff
path: root/include/compat/fcntl.h
diff options
context:
space:
mode:
authorkinichiro <kinichiro.inoguchi@gmail.com>2017-01-28 02:30:16 +0900
committerkinichiro <kinichiro.inoguchi@gmail.com>2017-01-28 02:49:06 +0900
commitfb936f89b8cb16d7e8f1fd73a527099616db74fb (patch)
treebcf35e392e8b606fc22caab2cd84feeaa54b38c9 /include/compat/fcntl.h
parentcb57534af8ce4cacd69a3edcd42bb8a6bcd0b40b (diff)
downloadportable-fb936f89b8cb16d7e8f1fd73a527099616db74fb.tar.gz
portable-fb936f89b8cb16d7e8f1fd73a527099616db74fb.tar.bz2
portable-fb936f89b8cb16d7e8f1fd73a527099616db74fb.zip
Move S_IRGRP and S_IROTH from fcntl.h to sys/stat.h
- S_IRGRP and S_IROTH should be defined in sys/stat.h rather than fcntl.h - Old MinGW64 on Ubuntu 14.04 appears not to have S_IRGRP and S_IROTH - MinGW64 has __WIN32 defined but does not have _MSC_VER defined
Diffstat (limited to 'include/compat/fcntl.h')
-rw-r--r--include/compat/fcntl.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/compat/fcntl.h b/include/compat/fcntl.h
index feddb7b..7dfedc6 100644
--- a/include/compat/fcntl.h
+++ b/include/compat/fcntl.h
@@ -30,11 +30,3 @@
30#ifndef FD_CLOEXEC 30#ifndef FD_CLOEXEC
31#define FD_CLOEXEC 1 31#define FD_CLOEXEC 1
32#endif 32#endif
33
34#ifndef S_IRGRP
35#define S_IRGRP 0
36#endif
37
38#ifndef S_IROTH
39#define S_IROTH 0
40#endif