Skip to content

Commit b2d4b3f

Browse files
committed
ARMCC temporary fixes for undefined errno symbols.
1 parent d116d0d commit b2d4b3f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

features/TESTS/filesystem/fopen/fopen.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@
3434
#include <stdlib.h> /*rand()*/
3535
#include <inttypes.h>
3636
#include <errno.h>
37+
/* todo: remove this temporary fix to overcome undefined symbols when compile for ARMCC */
38+
#ifndef TOOLCHAIN_ARM_STD
3739
#include <sys/stat.h>
38-
40+
#endif
3941
using namespace utest::v1;
4042

4143
/// @cond FSFAT_DOXYGEN_DISABLE

0 commit comments

Comments
 (0)