Fix default SIZEOF_OFF_T definition logic
This commit is contained in:
		| @@ -323,7 +323,8 @@ | ||||
| #    if defined(_LP64) || defined(_LARGE_FILES) | ||||
| #      define SIZEOF_OFF_T 8 | ||||
| #    endif | ||||
| #  else | ||||
| #  endif | ||||
| #  ifndef SIZEOF_OFF_T | ||||
| #    define SIZEOF_OFF_T 4 | ||||
| #  endif | ||||
| #endif | ||||
|   | ||||
| @@ -263,7 +263,8 @@ typedef enum { | ||||
| #    if defined(_LP64) || defined(_LARGE_FILES) | ||||
| #      define SIZEOF_OFF_T 8 | ||||
| #    endif | ||||
| #  else | ||||
| #  endif | ||||
| #  ifndef SIZEOF_OFF_T | ||||
| #    define SIZEOF_OFF_T 4 | ||||
| #  endif | ||||
| #endif | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yang Tse
					Yang Tse