commit | f84106910d128885775b1e7b75e451d7d389889c | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Tue Jul 07 11:29:32 2009 -0700 |
committer | Andy McFadden <fadden@android.com> | Tue Jul 07 11:29:32 2009 -0700 |
tree | a734de318ed6d3d0756ebf4d38c8ce4d499564b1 | |
parent | a4b587cb063dfd1b11f0006b0149e5e3045cc873 [diff] |
Fix build on some linux distros. The place where the PAGE_SIZE value is defined varies, mostly because you're not supposed to be using it directly. sysconf(_SC_PAGE_SIZE) is the approved method, and in fact some Linux distros actually #define PAGE_SIZE to the library call.