mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
14 lines
290 B
V
14 lines
290 B
V
|
// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved.
|
||
|
// Use of this source code is governed by an MIT license
|
||
|
// that can be found in the LICENSE file.
|
||
|
|
||
|
module runtime
|
||
|
|
||
|
//$if linux {
|
||
|
fn C.sysconf(name int) i64
|
||
|
//}
|
||
|
|
||
|
//$if windows {
|
||
|
fn C.GetCurrentProcessorNumber() u32
|
||
|
//}
|