Skip to content

Commit

Permalink
Fix mgos compile check
Browse files Browse the repository at this point in the history
CL: none

PUBLISHED_FROM=a1320658181aa19cd1a269d7ae62e11b3439ef84
  • Loading branch information
Deomid Ryabkov authored and cesantabot committed May 3, 2019
1 parent b93bc02 commit 1fb9f92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mongoose.c
Original file line number Diff line number Diff line change
Expand Up @@ -15310,7 +15310,7 @@ void mg_lwip_if_remove_conn(struct mg_connection *nc);
time_t mg_lwip_if_poll(struct mg_iface *iface, int timeout_ms);

// If compiling for Mongoose OS.
#ifdef MGOS_HAVE_CORE
#ifdef MGOS
extern void mgos_lock();
extern void mgos_unlock();
#else
Expand Down
2 changes: 1 addition & 1 deletion src/common/platforms/lwip/mg_lwip_net_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ void mg_lwip_if_remove_conn(struct mg_connection *nc);
time_t mg_lwip_if_poll(struct mg_iface *iface, int timeout_ms);

// If compiling for Mongoose OS.
#ifdef MGOS_HAVE_CORE
#ifdef MGOS
extern void mgos_lock();
extern void mgos_unlock();
#else
Expand Down

0 comments on commit 1fb9f92

Please sign in to comment.