Don't define fileno stub in C++

PUBLISHED_FROM=98fb6c78d20a98dfba07ba6671bd51a394bbc4ca
This commit is contained in:
Dmitry Frank 2017-06-27 16:06:21 +01:00 committed by Cesanta Bot
parent 8d76733fad
commit ff078882d5

View File

@ -548,7 +548,7 @@ typedef struct stat cs_stat_t;
#define __cdecl
#define _FILE_OFFSET_BITS 32
#ifndef RTOS_SDK
#if !defined(RTOS_SDK) && !defined(__cplusplus)
#define fileno(x) -1
#endif