mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-14 10:20:01 +00:00
Fix TZ on ESP8266
CL: Fix TZ on ESP8266 PUBLISHED_FROM=435a501a8b52524bccb67bb5a8ae7e09dfb4d44a
This commit is contained in:
1 parent
7014258c8d
commit
53f34dea04
3 files changed
+1
-9
No files matched your search
@@ -603,10 +603,6 @@ typedef struct stat cs_stat_t;
|
||||
#define __cdecl
|
||||
#define _FILE_OFFSET_BITS 32
|
||||
|
||||
#if !defined(RTOS_SDK) && !defined(__cplusplus)
|
||||
#define fileno(x) -1
|
||||
#endif
|
||||
|
||||
#define MG_LWIP 1
|
||||
|
||||
/* struct timeval is defined in sys/time.h. */
|
||||
|
||||
@@ -68,7 +68,7 @@ C_CXX_FLAGS = -W -Wall -Werror -Wundef -Wno-comment -Wno-variadic-macros -Wpoin
|
||||
-DCS_PLATFORM=3 \
|
||||
-ffunction-sections -fdata-sections
|
||||
|
||||
CFLAGS = -std=c99 $(C_CXX_FLAGS)
|
||||
CFLAGS = -std=gnu99 $(C_CXX_FLAGS)
|
||||
CXXFLAGS = -std=gnu++11 -fno-exceptions $(C_CXX_FLAGS)
|
||||
|
||||
# linker flags used to generate the main object file
|
||||
|
||||
@@ -42,10 +42,6 @@ typedef struct stat cs_stat_t;
|
||||
#define __cdecl
|
||||
#define _FILE_OFFSET_BITS 32
|
||||
|
||||
#if !defined(RTOS_SDK) && !defined(__cplusplus)
|
||||
#define fileno(x) -1
|
||||
#endif
|
||||
|
||||
#define MG_LWIP 1
|
||||
|
||||
/* struct timeval is defined in sys/time.h. */
|
||||
|
||||
Reference in new issue
Block a user