aboutsummaryrefslogtreecommitdiff
path: root/src/host
diff options
context:
space:
mode:
authorMike Pall <mike>2021-07-19 16:53:30 +0200
committerMike Pall <mike>2021-07-19 16:53:30 +0200
commit29bc1f04ace7e466437ebb08ac73c86b8a11cfda (patch)
tree3202613210b07790f19cc148c6249d5dc32de164 /src/host
parent21826309035979e17973c5ee2761f430adc6b7a6 (diff)
downloadluajit-29bc1f04ace7e466437ebb08ac73c86b8a11cfda.tar.gz
luajit-29bc1f04ace7e466437ebb08ac73c86b8a11cfda.tar.bz2
luajit-29bc1f04ace7e466437ebb08ac73c86b8a11cfda.zip
String buffers, part 3d: Compile string buffer methods and functions.
Sponsored by fmad.io.
Diffstat (limited to 'src/host')
-rw-r--r--src/host/buildvm_lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host/buildvm_lib.c b/src/host/buildvm_lib.c
index 17e0111c..20bb77cd 100644
--- a/src/host/buildvm_lib.c
+++ b/src/host/buildvm_lib.c
@@ -385,6 +385,8 @@ void emit_lib(BuildCtx *ctx)
385 ok = LJ_HASJIT; 385 ok = LJ_HASJIT;
386 else if (!strcmp(buf, "#if LJ_HASFFI\n")) 386 else if (!strcmp(buf, "#if LJ_HASFFI\n"))
387 ok = LJ_HASFFI; 387 ok = LJ_HASFFI;
388 else if (!strcmp(buf, "#if LJ_HASBUFFER\n"))
389 ok = LJ_HASBUFFER;
388 if (!ok) { 390 if (!ok) {
389 int lvl = 1; 391 int lvl = 1;
390 while (fgets(buf, sizeof(buf), fp) != NULL) { 392 while (fgets(buf, sizeof(buf), fp) != NULL) {