aboutsummaryrefslogtreecommitdiff
path: root/src/lj_buf.h
diff options
context:
space:
mode:
authorMike Pall <mike>2016-03-01 13:26:42 +0100
committerMike Pall <mike>2016-03-01 13:26:42 +0100
commit1c45c6a6a2a40c4d0568af74beaae795564b8d08 (patch)
tree125718a72d2f62586cfb8412504662ee057d8229 /src/lj_buf.h
parent18f6aa97fd93df8e9964c2d22f20f16e6b71b72b (diff)
downloadluajit-1c45c6a6a2a40c4d0568af74beaae795564b8d08.tar.gz
luajit-1c45c6a6a2a40c4d0568af74beaae795564b8d08.tar.bz2
luajit-1c45c6a6a2a40c4d0568af74beaae795564b8d08.zip
Fix build with JIT disabled.
Thanks to Peter Melnichenko.
Diffstat (limited to 'src/lj_buf.h')
-rw-r--r--src/lj_buf.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lj_buf.h b/src/lj_buf.h
index 1cf1780b..db72270f 100644
--- a/src/lj_buf.h
+++ b/src/lj_buf.h
@@ -67,9 +67,7 @@ static LJ_AINLINE char *lj_buf_more(SBuf *sb, MSize sz)
67 67
68/* Low-level buffer put operations */ 68/* Low-level buffer put operations */
69LJ_FUNC SBuf *lj_buf_putmem(SBuf *sb, const void *q, MSize len); 69LJ_FUNC SBuf *lj_buf_putmem(SBuf *sb, const void *q, MSize len);
70#if LJ_HASJIT
71LJ_FUNC SBuf * LJ_FASTCALL lj_buf_putchar(SBuf *sb, int c); 70LJ_FUNC SBuf * LJ_FASTCALL lj_buf_putchar(SBuf *sb, int c);
72#endif
73LJ_FUNC SBuf * LJ_FASTCALL lj_buf_putstr(SBuf *sb, GCstr *s); 71LJ_FUNC SBuf * LJ_FASTCALL lj_buf_putstr(SBuf *sb, GCstr *s);
74 72
75static LJ_AINLINE char *lj_buf_wmem(char *p, const void *q, MSize len) 73static LJ_AINLINE char *lj_buf_wmem(char *p, const void *q, MSize len)