See if this fixes the cross compiles
This commit is contained in:
parent
7b6a85b931
commit
3f330273f3
|
@ -74,10 +74,12 @@
|
||||||
# define LUA_FLOAT_TYPE LUA_FLOAT_FLOAT
|
# define LUA_FLOAT_TYPE LUA_FLOAT_FLOAT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef LUA_USE_ESP
|
||||||
#define L_RANDMAX 2147483647
|
#define L_RANDMAX 2147483647
|
||||||
extern uint32_t esp_random(void);
|
extern uint32_t esp_random(void);
|
||||||
#define l_rand() (esp_random() & L_RANDMAX)
|
#define l_rand() (esp_random() & L_RANDMAX)
|
||||||
#define l_srand(x)
|
#define l_srand(x)
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Configuration for Paths.
|
** Configuration for Paths.
|
||||||
|
|
Loading…
Reference in New Issue