Add compat.h
This commit is contained in:
		
							
								
								
									
										8
									
								
								util.h
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								util.h
									
									
									
									
									
								
							| @@ -1,13 +1,11 @@ | ||||
| /* See LICENSE file for copyright and license details. */ | ||||
| #include <sys/types.h> | ||||
| #include <limits.h> | ||||
|  | ||||
| #include <regex.h> | ||||
| #include <stddef.h> | ||||
| #include "arg.h" | ||||
|  | ||||
| #ifndef HOST_NAME_MAX | ||||
| #define HOST_NAME_MAX _POSIX_HOST_NAME_MAX | ||||
| #endif | ||||
| #include "arg.h" | ||||
| #include "compat.h" | ||||
|  | ||||
| #define UTF8_POINT(c) (((c) & 0xc0) != 0x80) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user