[OpenWrt-Devel] wrong size of off_t in mips platform

Cedric VONCKEN cedric.voncken at acksys.fr
Wed Jun 17 06:14:59 EDT 2020

In the file include/site/mips the off_t size is set to 8 bytes.
The QCA95xx/ar71xx processor use this file, and some configure from package use this file to know the size of several types.
On this processor platform, I generate a simple program to print the result of sizeof(off_t) on stdout.

The output is 4, so the size of type off_t is 4 bytes and not 8 bytes as recorded in the include/site/mips

Could you confirm I need to make change in include/site/mips?


openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list