Skip to content

Commit 7e6ee37

Browse files
committed
undef __STRICT_ANSI__ to allow usage of functions like strcasecmp, strtok_r and so on
1 parent 6504546 commit 7e6ee37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ compiler.tools.path={runtime.ide.path}/hardware/tools/esp8266/
1212
compiler.path={compiler.tools.path}xtensa-lx106-elf/bin/
1313
compiler.sdk.path={compiler.tools.path}sdk/
1414

15-
compiler.cpreprocessor.flags=-D__ets__ -DICACHE_FLASH "-I{compiler.sdk.path}/include"
15+
compiler.cpreprocessor.flags=-D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-I{compiler.sdk.path}/include"
1616

1717
compiler.c.cmd=xtensa-lx106-elf-gcc
1818
compiler.c.flags=-c -Os -Wpointer-arith -Wno-implicit-function-declaration -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -MMD -std=c99

0 commit comments

Comments
 (0)