瀏覽代碼

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