Commit f316ebf7 authored by philip's avatar philip Committed by Nathaniel Wesley Filardo
Browse files

Remove ESP8266 special case

parent 403c633b
...@@ -401,7 +401,7 @@ ...@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment