Make core::os get_page_size contextless

This commit is contained in:
ed
2024-03-06 00:52:31 -05:00
parent 9525a3a135
commit 72f38afb04
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1005,7 +1005,7 @@ dlerror :: proc() -> string {
return string(_unix_dlerror())
}
get_page_size :: proc() -> int {
get_page_size :: proc "contextless" () -> int {
// NOTE(tetra): The page size never changes, so why do anything complicated
// if we don't have to.
@static page_size := -1