mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
update malloc
This commit is contained in:
@@ -230,6 +230,9 @@ pub fn (v mut V) compile() {
|
||||
cgen.genln('#define VDEBUG (1)')
|
||||
}
|
||||
}
|
||||
if v.pref.prealloc {
|
||||
cgen.genln('#define VPREALLOC (1)')
|
||||
}
|
||||
if v.os == .js {
|
||||
cgen.genln('#define _VJS (1) ')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user