Ticket #1575: patch-db185_uext.in

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

patch-db185_uext.in

Line 
1--- include_auto/db185_uext.in.orig     2001-04-11 04:44:20.000000000 +0800
2+++ include_auto/db185_uext.in  2004-02-13 06:18:17.000000000 +0800
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_ */