Prevent include of luajit_rolling.h.

Thanks to Peter Cawley. #1145
This commit is contained in:
Mike Pall
2024-01-31 14:29:23 +01:00
parent e6c0ade97c
commit 14987af80a
2 changed files with 2 additions and 1 deletions

View File

@@ -67,4 +67,5 @@ LUA_API int luaJIT_setmode(lua_State *L, int idx, int mode);
/* Enforce (dynamic) linker error for version mismatches. Call from main. */
LUA_API void LUAJIT_VERSION_SYM(void);
#error "DO NOT USE luajit_rolling.h -- only include build-generated luajit.h"
#endif