Define mode_t via __mode_t

Use __uint32_t to avoid the use of GCC-specific _ST_INT32.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
Sebastian Huber
2016-04-15 13:44:15 +02:00
committed by Corinna Vinschen
parent e77040b2bf
commit eba91a5d0a
4 changed files with 23 additions and 49 deletions

View File

@ -22,7 +22,7 @@ typedef _off_t _fpos_t;
typedef unsigned long __ino_t;
#define __machine_ino_t_defined
typedef __uint32_t _mode_t;
typedef __uint32_t __mode_t;
#define __machine_mode_t_defined
#endif /* _MACHINE__TYPES_H */