diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-04-13 21:00:17 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-04-13 21:00:17 +0200 |
commit | 7b391244009ebca831aa8f8dac82112a9daa9023 (patch) | |
tree | 86bddf8c69af8681a14f9d62f2cc7e0f325348d5 /winsup/cygwin/include/sys | |
parent | de51829c1747c0dd220f720ca84a51a818315b27 (diff) | |
download | cygnal-7b391244009ebca831aa8f8dac82112a9daa9023.tar.gz cygnal-7b391244009ebca831aa8f8dac82112a9daa9023.tar.bz2 cygnal-7b391244009ebca831aa8f8dac82112a9daa9023.zip |
Get rid of some special cases for Cygwin in sys/types.h
Remove off_t typedef from cygwin/types.h thus relying on sys/types.h.
Introduce winsup/cygwin/machine/_types.h and move some types shared
with newlib into it. Get rid of their definition in cygwin/types.h.
Add same handling for __key_t/key_t as for the other types.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/include/sys')
-rw-r--r-- | winsup/cygwin/include/sys/cygwin.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h index 8c7128c97..e6636904a 100644 --- a/winsup/cygwin/include/sys/cygwin.h +++ b/winsup/cygwin/include/sys/cygwin.h @@ -397,11 +397,9 @@ extern void cygwin_premain3 (int, char **, struct per_process *); #define EXTERNAL_PINFO_VERSION_32_LP 2 #define EXTERNAL_PINFO_VERSION EXTERNAL_PINFO_VERSION_32_LP -#ifndef __uid_t_defined +#ifndef __INSIDE_CYGWIN__ typedef __uint16_t __uid16_t; typedef __uint16_t __gid16_t; -typedef __uint32_t uid_t; -typedef __uint32_t gid_t; #endif struct external_pinfo |