Check for off_t 64bits in FindKDE4Internal.cmake ?

Alexander Neundorf neundorf at
Fri Feb 17 12:10:11 UTC 2012

Hi Dirk,

I'm looking through FindKDE4Internal.cmake, preparing it for KDE frameworks.
If found this commit from you:

It adds a test whether off_t can hold 9223372036854775807, and if not, adds

Wouldn't it be good enough to check whether off_t is 8 byte ?

Or, do you remember for which compiler or compiler version this was ?

Also, why not simply always adding -D_FILE_OFFSET_BITS=64 , as we do with 


More information about the Kde-buildsystem mailing list