mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-16 20:52:57 +08:00
Remove ESP8266 special case
This commit is contained in:
parent
403c633b25
commit
f316ebf73a
@ -401,7 +401,7 @@
|
|||||||
@@ l_sprintf is equivalent to 'snprintf' or 'sprintf' in C89.
|
@@ l_sprintf is equivalent to 'snprintf' or 'sprintf' in C89.
|
||||||
** (All uses in Lua have only one format item.)
|
** (All uses in Lua have only one format item.)
|
||||||
*/
|
*/
|
||||||
#if !defined(LUA_USE_C89) || defined(LUA_USE_ESP8266)
|
#if !defined(LUA_USE_C89)
|
||||||
#define l_sprintf(s,sz,f,i) snprintf(s,sz,f,i)
|
#define l_sprintf(s,sz,f,i) snprintf(s,sz,f,i)
|
||||||
#else
|
#else
|
||||||
#define l_sprintf(s,sz,f,i) ((void)(sz), sprintf(s,f,i))
|
#define l_sprintf(s,sz,f,i) ((void)(sz), sprintf(s,f,i))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user