mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 08:08:50 +00:00
Make core::os get_page_size contextless
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user