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
888ce8b5
Commit
888ce8b5
authored
Nov 17, 2016
by
Johny Mattsson
Browse files
Unbreak integer build.
parent
3fe7f775
Changes
1
Hide whitespace changes
Inline
Side-by-side
components/modules/struct.c
View file @
888ce8b5
...
@@ -197,6 +197,7 @@ static void putinteger (lua_State *L, luaL_Buffer *b, int arg, int endian,
...
@@ -197,6 +197,7 @@ static void putinteger (lua_State *L, luaL_Buffer *b, int arg, int endian,
}
}
#ifndef LUA_NUMBER_INTEGRAL
static
void
correctbytes
(
char
*
b
,
int
size
,
int
endian
)
{
static
void
correctbytes
(
char
*
b
,
int
size
,
int
endian
)
{
if
(
endian
!=
native
.
endian
)
{
if
(
endian
!=
native
.
endian
)
{
int
i
=
0
;
int
i
=
0
;
...
@@ -207,6 +208,7 @@ static void correctbytes (char *b, int size, int endian) {
...
@@ -207,6 +208,7 @@ static void correctbytes (char *b, int size, int endian) {
}
}
}
}
}
}
#endif
static
int
b_pack
(
lua_State
*
L
)
{
static
int
b_pack
(
lua_State
*
L
)
{
...
...
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