The config file mentiones that if off_t isnt defined its defined in gcc as

`long'. This gives rise to defining `off_t' to a signed 64 bit on LP64
machines giving rise to cross compiling errors.

By explicitly setting it to int32_t its forced to use signed 32 bits
integers as required and expected on the ILP32 ARM processor.

This aparently fixes PR 15303
This commit is contained in:
reinoud 2002-01-30 17:11:44 +00:00
parent 715eb97754
commit d4d4c95b9e
1 changed files with 1 additions and 0 deletions

View File

@ -169,6 +169,7 @@
/* #undef inline */ /* #undef inline */
/* Define to `long' if <sys/types.h> doesn't define. */ /* Define to `long' if <sys/types.h> doesn't define. */
#define off_t int32_t
/* #undef off_t */ /* #undef off_t */
/* Define to `int' if <sys/types.h> doesn't define. */ /* Define to `int' if <sys/types.h> doesn't define. */