mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-28 05:39:00 +08:00
Don't define fileno stub in C++
PUBLISHED_FROM=98fb6c78d20a98dfba07ba6671bd51a394bbc4ca
This commit is contained in:
parent
8d76733fad
commit
ff078882d5
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user