See if this fixes the cross compiles

This commit is contained in:
Philip Gladstone 2021-10-24 19:15:29 +00:00
parent 7b6a85b931
commit 3f330273f3
1 changed files with 2 additions and 0 deletions

View File

@ -74,10 +74,12 @@
# define LUA_FLOAT_TYPE LUA_FLOAT_FLOAT
#endif
#ifdef LUA_USE_ESP
#define L_RANDMAX 2147483647
extern uint32_t esp_random(void);
#define l_rand() (esp_random() & L_RANDMAX)
#define l_srand(x)
#endif
/*
** Configuration for Paths.