builtin: fix a mutable var on windows

pull/5958/head
Alexander Medvednikov 2020-07-23 23:18:45 +02:00
parent 632e27a4a9
commit d2675b89c0
1 changed files with 3 additions and 3 deletions

View File

@ -215,7 +215,7 @@ fn C.__debugbreak()
fn break_if_debugger_attached() {
$if tinyc {
unsafe {
ptr := &voidptr(0)
mut ptr := &voidptr(0)
*ptr = 0
}
} $else {