Skip to content

Commit f643ec9

Browse files
fix(tcg/region): fix wrong endif position
actually fixes #267
1 parent 20edeb4 commit f643ec9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tcg/region.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,6 @@ static int alloc_code_gen_buffer_anon(size_t size, int prot,
515515
region.total_size = size;
516516
return prot;
517517
}
518-
#endif /* WIN32 */
519518

520519
#ifndef CONFIG_TCG_INTERPRETER
521520
#ifdef CONFIG_POSIX
@@ -668,6 +667,7 @@ static int alloc_code_gen_buffer(size_t size, int splitwx, Error **errp)
668667

669668
return alloc_code_gen_buffer_anon(size, prot, flags, errp);
670669
}
670+
#endif /* WIN32 */
671671

672672
/*
673673
* Initializes region partitioning.

0 commit comments

Comments
 (0)