Provide POSIX defined fsblkcnt_t and fsfilcnt_t
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
		
				
					committed by
					
						
						Corinna Vinschen
					
				
			
			
				
	
			
			
			
						parent
						
							c5d5030aea
						
					
				
				
					commit
					f3e587d30a
				
			@@ -34,18 +34,6 @@ typedef struct timespec timestruc_t;
 | 
			
		||||
 | 
			
		||||
typedef __loff_t loff_t;
 | 
			
		||||
 | 
			
		||||
#ifndef __fsblkcnt_t_defined
 | 
			
		||||
#define __fsblkcnt_t_defined
 | 
			
		||||
/* Keep as is.  32 bit on i386, 64 bit on x86_64. */
 | 
			
		||||
typedef unsigned long fsblkcnt_t;
 | 
			
		||||
#endif /* __fsblkcnt_t_defined */
 | 
			
		||||
 | 
			
		||||
#ifndef __fsfilcnt_t_defined
 | 
			
		||||
#define __fsfilcnt_t_defined
 | 
			
		||||
/* Keep as is.  32 bit on i386, 64 bit on x86_64. */
 | 
			
		||||
typedef unsigned long fsfilcnt_t;
 | 
			
		||||
#endif /* __fsfilcnt_t_defined */
 | 
			
		||||
 | 
			
		||||
#if defined (__INSIDE_CYGWIN__) && !defined (__x86_64__)
 | 
			
		||||
struct __flock32 {
 | 
			
		||||
	short	 l_type;	/* F_RDLCK, F_WRLCK, or F_UNLCK */
 | 
			
		||||
 
 | 
			
		||||
@@ -22,6 +22,14 @@ typedef __int32_t __blksize_t;
 | 
			
		||||
#define __machine_dev_t_defined
 | 
			
		||||
typedef __uint32_t __dev_t;
 | 
			
		||||
 | 
			
		||||
#define __machine_fsblkcnt_t_defined
 | 
			
		||||
/* Keep as is.  32 bit on i386, 64 bit on x86_64. */
 | 
			
		||||
typedef unsigned long __fsblkcnt_t;
 | 
			
		||||
 | 
			
		||||
#define __machine_fsfilcnt_t_defined
 | 
			
		||||
/* Keep as is.  32 bit on i386, 64 bit on x86_64. */
 | 
			
		||||
typedef unsigned long __fsfilcnt_t;
 | 
			
		||||
 | 
			
		||||
#define __machine_uid_t_defined
 | 
			
		||||
typedef __uint32_t __uid_t;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user