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. Dave _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code