reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 13 | #ifndef PAGE_SIZE_ #define PAGE_SIZE_ #if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__)) # include <unistd.h> unsigned pageSize() { return sysconf(_SC_PAGESIZE); } #else # error "GWP-ASan is not supported on this platform." #endif #endif // PAGE_SIZE_ |