aboutsummaryrefslogtreecommitdiff
path: root/libtcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtcc.c')
-rw-r--r--libtcc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libtcc.c b/libtcc.c
index 5208ea5..513de90 100644
--- a/libtcc.c
+++ b/libtcc.c
@@ -1938,6 +1938,9 @@ TCCState *tcc_new(void)
/* XXX: currently the PE linker is not ready to support that */
s->leading_underscore = 1;
#endif
+#ifdef TCC_TARGET_I386
+ s->seg_size = 32;
+#endif
return s;
}