On Sun, Sep 28, 2008 at 5:18 PM, David Powell <[EMAIL PROTECTED]> wrote: > David Bartley wrote: >>> >>> Backing up, what problem are you trying to solve? >> >> I want to use procfs.h while having large file support; there's a few >> lines that disallow this: >> >> #if !defined(_LP64) && _FILE_OFFSET_BITS == 64 >> #error "Cannot use procfs in the large file compilation environment" >> #endif > > If you want to use both procfs and large files, you can use the > transitional large file compilation environment, documented in > lfcompile64(5). It is less convenient than using the normal large > files interfaces (you must explicitly use large-file interfaces, e.g. > open64() instead of open()), but is compatible with things like > procfs.h.
Thanks for the info. I'm still a bit curious as to what the underlying reason for #error above is. -- David _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code