On 6/14/24 1:19 PM, Paul Eggert wrote: > I noticed when looking into something else that we can simplify > some getpagesize-using code by removing some dependencies > and using sysconf (_SC_PAGESIZE) where that might be safer. > While I was at it, I updated the getpagesize doc and > fixed what seems to be an obvious porting bug (pointers > do not always fit into unsigned long).
Isn't sysconf not available on Windows? Maybe implementing _SC_PAGESIZE and some other simple ones would work if so. Collin