diff options
author | Mike Pall <mike> | 2021-03-25 02:21:31 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2021-03-25 02:21:31 +0100 |
commit | 4c6b669c419f313306b9e6ee43be4ad5f6d73ec6 (patch) | |
tree | 4547f52836e186e94b68b331ea73d6b0086cb415 /src/lj_arch.h | |
parent | 836fb5bbd3a0d48cf3e4de70535925a85aea835f (diff) | |
download | luajit-4c6b669c419f313306b9e6ee43be4ad5f6d73ec6.tar.gz luajit-4c6b669c419f313306b9e6ee43be4ad5f6d73ec6.tar.bz2 luajit-4c6b669c419f313306b9e6ee43be4ad5f6d73ec6.zip |
String buffers, part 1: object serialization.
Sponsored by fmad.io.
Diffstat (limited to 'src/lj_arch.h')
-rw-r--r-- | src/lj_arch.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h index 0a6e1b9f..ae999467 100644 --- a/src/lj_arch.h +++ b/src/lj_arch.h | |||
@@ -549,6 +549,13 @@ | |||
549 | #define LJ_HASFFI 1 | 549 | #define LJ_HASFFI 1 |
550 | #endif | 550 | #endif |
551 | 551 | ||
552 | /* Disable or enable the string buffer extension. */ | ||
553 | #if defined(LUAJIT_DISABLE_BUFFER) | ||
554 | #define LJ_HASBUFFER 0 | ||
555 | #else | ||
556 | #define LJ_HASBUFFER 1 | ||
557 | #endif | ||
558 | |||
552 | #if defined(LUAJIT_DISABLE_PROFILE) | 559 | #if defined(LUAJIT_DISABLE_PROFILE) |
553 | #define LJ_HASPROFILE 0 | 560 | #define LJ_HASPROFILE 0 |
554 | #elif LJ_TARGET_POSIX | 561 | #elif LJ_TARGET_POSIX |