This solves a compatibility problem with libgmp that erroneously attempts to detect whether <stdio.h> has been included, but doesn't know what the include guards for Sortix libc are.
6 lines
89 B
C
6 lines
89 B
C
#ifndef _FILE_DECL
|
|
#define _FILE_DECL
|
|
typedef struct FILE FILE;
|
|
#define FILE FILE
|
|
#endif
|