mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builtin: fix a mutable var on windows
This commit is contained in:
@@ -215,7 +215,7 @@ fn C.__debugbreak()
|
|||||||
fn break_if_debugger_attached() {
|
fn break_if_debugger_attached() {
|
||||||
$if tinyc {
|
$if tinyc {
|
||||||
unsafe {
|
unsafe {
|
||||||
ptr := &voidptr(0)
|
mut ptr := &voidptr(0)
|
||||||
*ptr = 0
|
*ptr = 0
|
||||||
}
|
}
|
||||||
} $else {
|
} $else {
|
||||||
|
Reference in New Issue
Block a user