Ticket #1590: patch-db185_uext.in

File patch-db185_uext.in, 623 bytes (added by digdog@…, 21 years ago)

patch-db185_uext.in

Line 
1--- ../include_auto/db185_uext.in.orig  Sat Mar  6 08:01:31 2004
2+++ ../include_auto/db185_uext.in       Sat Mar  6 08:04:20 2004
3@@ -3,10 +3,15 @@
4 extern "C" {
5 #endif
6 #define dbopen __db185_open@DB_VERSION_UNIQUE_NAME@
7+#ifdef _DB185_INT_H_
8 #define        __db185_open __db185_open@DB_VERSION_UNIQUE_NAME@
9 DB185 *__db185_open __P((const char *, int, int, DBTYPE, const void *));
10+#else
11+#define        __db185_open __db185_open@DB_VERSION_UNIQUE_NAME@
12+DB *__db185_open __P((const char *, int, int, DBTYPE, const void *));
13+#endif
14 #if defined(__cplusplus)
15 }
16 #endif
17 
18-#endif /* !_DB_185_H_ */
19+#endif /* _DB_185_H_ or _DB185_INT_H_ */