ソースを参照

Fix libgmp compilation

jD91mZM2 4 年 前
コミット
e17c6049c6
1 ファイル変更4 行追加0 行削除
  1. 4 0
      include/bits/stdio.h

+ 4 - 0
include/bits/stdio.h

@@ -6,6 +6,10 @@
 
 typedef struct FILE FILE;
 
+// A typedef doesn't suffice, because libgmp uses this definition to check if
+// STDIO was loaded.
+#define FILE FILE
+
 #ifdef __cplusplus
 extern "C" {
 #endif