Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
9ca1672f
Commit
9ca1672f
authored
Sep 25, 2020
by
philip
Committed by
Marcel Stör
Nov 07, 2020
Browse files
Remove ESP8266 special case
parent
aaef4c3d
Changes
1
Show whitespace changes
Inline
Side-by-side
app/lua53/luaconf.h
View file @
9ca1672f
...
@@ -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))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment