summaryrefslogtreecommitdiff
path: root/db/dbinc/db_185.in
diff options
context:
space:
mode:
Diffstat (limited to 'db/dbinc/db_185.in')
-rw-r--r--db/dbinc/db_185.in16
1 files changed, 12 insertions, 4 deletions
diff --git a/db/dbinc/db_185.in b/db/dbinc/db_185.in
index 338455a60..bf3af8abb 100644
--- a/db/dbinc/db_185.in
+++ b/db/dbinc/db_185.in
@@ -1,8 +1,8 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 1996-2004
- * Sleepycat Software. All rights reserved.
+ * Copyright (c) 1996-2006
+ * Oracle Corporation. All rights reserved.
*/
/*
* Copyright (c) 1990, 1993, 1994
@@ -32,7 +32,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: db_185.in,v 11.11 2004/01/28 03:36:01 bostic Exp $
+ * $Id: db_185.in,v 12.5 2006/08/24 14:45:28 bostic Exp $
*/
#ifndef _DB_185_H_
@@ -42,6 +42,10 @@
#include <limits.h>
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/*
* XXX
* Handle function prototypes and the keyword "const". This steps on name
@@ -72,7 +76,7 @@
* XXX
* SGI/IRIX already has a pgno_t.
*/
-#ifdef sgi
+#ifdef __sgi
#define pgno_t db_pgno_t
#endif
@@ -166,4 +170,8 @@ typedef struct {
/* Re-define the user's dbopen calls. */
#define dbopen __db185_open@DB_VERSION_UNIQUE_NAME@
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* !_DB_185_H_ */