Update luaconf.h

Add #ifndef guard to enable users to define at compile-time without having to modify the luau source.
This commit is contained in:
mundusnine 2023-05-12 19:36:08 +00:00 committed by GitHub
parent 97965c7c0a
commit a7fd6e99e7
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -143,6 +143,8 @@
long l; \
}
#ifndef LUA_VECTOR_SIZE
#define LUA_VECTOR_SIZE 3 // must be 3 or 4
#endif
#define LUA_EXTRA_SIZE (LUA_VECTOR_SIZE - 2)