Ticket #7853: patch-assuan-funopen.c

File patch-assuan-funopen.c, 344 bytes (added by opendarwin.nospam@…, 19 years ago)

only define funopen when unavailable

Line 
1--- assuan/funopen.c.orig       2005-09-08 16:42:30.000000000 +0200
2+++ assuan/funopen.c    2006-03-12 19:16:10.000000000 +0100
3@@ -25,6 +25,8 @@
4 #include <stdio.h>
5 
6 
7+#ifndef HAVE_FUNOPEN
8+
9 /* Replacement for the *BSD function:
10 
11   FILE *funopen (void *cookie,
12@@ -61,3 +63,5 @@
13 #else
14 #error No known way to implement funopen.
15 #endif
16+
17+#endif