Commit ff078882 authored by Dmitry Frank's avatar Dmitry Frank Committed by Cesanta Bot

Don't define fileno stub in C++

PUBLISHED_FROM=98fb6c78d20a98dfba07ba6671bd51a394bbc4ca
parent 8d76733f
...@@ -548,7 +548,7 @@ typedef struct stat cs_stat_t; ...@@ -548,7 +548,7 @@ typedef struct stat cs_stat_t;
#define __cdecl #define __cdecl
#define _FILE_OFFSET_BITS 32 #define _FILE_OFFSET_BITS 32
#ifndef RTOS_SDK #if !defined(RTOS_SDK) && !defined(__cplusplus)
#define fileno(x) -1 #define fileno(x) -1
#endif #endif
......
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