Skip to content

Commit

Permalink
Fix Windows build (nodemcu#3084)
Browse files Browse the repository at this point in the history
* fix build

* poor mans link which also works on docker under windows

* Delete espconn.h

* resurecting it as regular file

* Add missing newline

Co-authored-by: Marcel Stör <[email protected]>
  • Loading branch information
marcelstoer authored Apr 30, 2020
2 parents cd6452d + b6bfe1c commit 314ca4f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/lua/lobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ typedef union Closure {
*/

#define CommonTable CommonHeader; \
lu_byte flags; lu_byte lsizenode; struct Table *metatable;
lu_byte flags; lu_byte lsizenode; struct Table *metatable

typedef union TKey {
struct {
Expand Down
2 changes: 0 additions & 2 deletions msvc/luac-cross/luac-cross.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@
<ClCompile Include="..\..\app\lua\lobject.c" />
<ClCompile Include="..\..\app\lua\lopcodes.c" />
<ClCompile Include="..\..\app\lua\lparser.c" />
<ClCompile Include="..\..\app\lua\lrotable.c" />
<ClCompile Include="..\..\app\lua\lstate.c" />
<ClCompile Include="..\..\app\lua\lstring.c" />
<ClCompile Include="..\..\app\lua\lstrlib.c" />
Expand Down Expand Up @@ -234,7 +233,6 @@
<ClInclude Include="..\..\app\lua\lobject.h" />
<ClInclude Include="..\..\app\lua\lopcodes.h" />
<ClInclude Include="..\..\app\lua\lparser.h" />
<ClInclude Include="..\..\app\lua\lrodefs.h" />
<ClInclude Include="..\..\app\lua\lrotable.h" />
<ClInclude Include="..\..\app\lua\lstate.h" />
<ClInclude Include="..\..\app\lua\lstring.h" />
Expand Down
6 changes: 0 additions & 6 deletions msvc/luac-cross/luac-cross.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@
<ClCompile Include="..\..\app\lua\lparser.c">
<Filter>app\lua</Filter>
</ClCompile>
<ClCompile Include="..\..\app\lua\lrotable.c">
<Filter>app\lua</Filter>
</ClCompile>
<ClCompile Include="..\..\app\lua\lstate.c">
<Filter>app\lua</Filter>
</ClCompile>
Expand Down Expand Up @@ -179,9 +176,6 @@
<ClInclude Include="..\..\app\lua\lparser.h">
<Filter>app\lua</Filter>
</ClInclude>
<ClInclude Include="..\..\app\lua\lrodefs.h">
<Filter>app\lua</Filter>
</ClInclude>
<ClInclude Include="..\..\app\lua\lrotable.h">
<Filter>app\lua</Filter>
</ClInclude>
Expand Down
1 change: 0 additions & 1 deletion sdk-overrides/include/espconn.h

This file was deleted.

2 changes: 2 additions & 0 deletions sdk-overrides/include/espconn.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// poor mans link which also works on docker under windows
#include "../../app/include/lwip/app/espconn.h"

0 comments on commit 314ca4f

Please sign in to comment.