mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-08 08:38:51 +00:00
Make core::os get_page_size contextless
This commit is contained in:
@@ -91,7 +91,7 @@ last_write_time_by_name :: proc(name: string) -> (File_Time, Errno) {
|
||||
}
|
||||
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user