sortix-mirror/ports/libgmp/libgmp.patch

12 lines
592 B
Diff

diff -Paur --no-dereference -- libgmp.upstream/gmp-h.in libgmp/gmp-h.in
--- libgmp.upstream/gmp-h.in
+++ libgmp/gmp-h.in
@@ -250,6 +250,7 @@
/* For reference, "defined(EOF)" cannot be used here. In g++ 2.95.4,
<iostream> defines EOF but not FILE. */
#if defined (FILE) \
+ || defined (stdout) \
|| defined (H_STDIO) \
|| defined (_H_STDIO) /* AIX */ \
|| defined (_STDIO_H) /* glibc, Sun, SCO */ \