mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-27 06:51:04 +08:00
Fix TZ on ESP8266
CL: Fix TZ on ESP8266 PUBLISHED_FROM=435a501a8b52524bccb67bb5a8ae7e09dfb4d44a
This commit is contained in:
parent
7014258c8d
commit
53f34dea04
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user