2008/11/14 Aleksander Morgado <[EMAIL PROTECTED]>: > Yes, it's probably better than using directly pdf_i64_t. In OS without > built-in 64bit support, pdf_off_t will be 32-bits, and 64-bits or longer in > all the others. Right?
It will be 32 if you compile without LFS. Which current OS doesn't have LFS? As a side note, the Acrobat SDK provides two different data types and functions: typedef ASUns32 ASDiskSpace; ASFileSysGetStorageFreeSpace () typedef ASUns64 ASDiskSpace64; ASFileSysGetStorageFreeSpace64 () There are other functions with 64-bit versions. But I would avoid to use 64-bit specific alternatives if possible. Aleks, how are you implementing pdf_fsys_disk_get_free_space() for both POSIX and Windows?
