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:
Jonas 'Sortie' Termansen 2013-09-19 20:13:44 +02:00
parent 866efbd11c
commit 48931408f4
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
#ifndef _FILE_DECL
#define _FILE_DECL
typedef struct FILE FILE;
#define FILE FILE
#endif