Commit 53f34dea authored by Deomid Ryabkov's avatar Deomid Ryabkov Committed by Cesanta Bot

Fix TZ on ESP8266

CL: Fix TZ on ESP8266

PUBLISHED_FROM=435a501a8b52524bccb67bb5a8ae7e09dfb4d44a
parent 7014258c
...@@ -603,10 +603,6 @@ typedef struct stat cs_stat_t; ...@@ -603,10 +603,6 @@ typedef struct stat cs_stat_t;
#define __cdecl #define __cdecl
#define _FILE_OFFSET_BITS 32 #define _FILE_OFFSET_BITS 32
#if !defined(RTOS_SDK) && !defined(__cplusplus)
#define fileno(x) -1
#endif
#define MG_LWIP 1 #define MG_LWIP 1
/* struct timeval is defined in sys/time.h. */ /* 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 ...@@ -68,7 +68,7 @@ C_CXX_FLAGS = -W -Wall -Werror -Wundef -Wno-comment -Wno-variadic-macros -Wpoin
-DCS_PLATFORM=3 \ -DCS_PLATFORM=3 \
-ffunction-sections -fdata-sections -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) CXXFLAGS = -std=gnu++11 -fno-exceptions $(C_CXX_FLAGS)
# linker flags used to generate the main object file # linker flags used to generate the main object file
......
...@@ -42,10 +42,6 @@ typedef struct stat cs_stat_t; ...@@ -42,10 +42,6 @@ typedef struct stat cs_stat_t;
#define __cdecl #define __cdecl
#define _FILE_OFFSET_BITS 32 #define _FILE_OFFSET_BITS 32
#if !defined(RTOS_SDK) && !defined(__cplusplus)
#define fileno(x) -1
#endif
#define MG_LWIP 1 #define MG_LWIP 1
/* struct timeval is defined in sys/time.h. */ /* struct timeval is defined in sys/time.h. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment