mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Make FILE a macro that expands to FILE.
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.
This commit is contained in:
parent
866efbd11c
commit
48931408f4
1 changed files with 1 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#ifndef _FILE_DECL
|
||||
#define _FILE_DECL
|
||||
typedef struct FILE FILE;
|
||||
#define FILE FILE
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue