mirror of https://github.com/flysand7/ciabatta.git
				
				
				
			Some type declarations for __STDC_WANT_LIB_EXT1__
This commit is contained in:
		
							parent
							
								
									f080d67c46
								
							
						
					
					
						commit
						0c9875c53c
					
				| 
						 | 
					@ -7,3 +7,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// TODO: figure out why _Thread_local doesn't work
 | 
					// TODO: figure out why _Thread_local doesn't work
 | 
				
			||||||
extern _Thread_local int errno;
 | 
					extern _Thread_local int errno;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if __STDC_WANT_LIB_EXT1__ == 1
 | 
				
			||||||
 | 
					    typedef int errno_t;
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -19,3 +19,6 @@
 | 
				
			||||||
    typedef int wchar_t;
 | 
					    typedef int wchar_t;
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if __STDC_WANT_LIB_EXT1__ == 1
 | 
				
			||||||
 | 
					    typedef size_t rsize_t;
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -143,3 +143,11 @@ typedef uint64_t uintmax_t;
 | 
				
			||||||
#if defined(_WIN32)
 | 
					#if defined(_WIN32)
 | 
				
			||||||
    #define UINT64_C(lit)  lit ## ull
 | 
					    #define UINT64_C(lit)  lit ## ull
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if __STDC_WANT_LIB_EXT1__ == 1
 | 
				
			||||||
 | 
					    #if defined(_WIN32)
 | 
				
			||||||
 | 
					        #define RSIZE_MAX  0xffffffffffffull;
 | 
				
			||||||
 | 
					    #else
 | 
				
			||||||
 | 
					        #define RSIZE_MAX  0xfffffffffffful;
 | 
				
			||||||
 | 
					    #endif
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue