Support building ltests.c in MODE=dbg

Fixes #1226
This commit is contained in:
Justine Tunney 2024-12-13 08:09:17 -08:00
parent 838b54f906
commit 69402f4d78
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
2 changed files with 38 additions and 16 deletions

View file

@ -133,6 +133,14 @@ typedef struct lua_Debug lua_Debug;
typedef void (*lua_Hook) (lua_State *L, lua_Debug *ar);
/*
** [jart] support ltests.h without unsafe LUA_USER_H kludge
** use `make MODE=dbg` to get this functionality
*/
#ifdef MODE_DBG
#include "ltests.h"
#endif
/*
** generic extra include file
*/