summaryrefslogtreecommitdiffstats
path: root/src/util/db2/include
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>1998-01-21 16:33:31 +0000
committerEzra Peisach <epeisach@mit.edu>1998-01-21 16:33:31 +0000
commitf35b277b8d3579e6558208fc45b5b7151fd9b872 (patch)
tree867b61b0d4ac71137bd24493ac89abb22152c776 /src/util/db2/include
parent43817ef775a04fb5694c39d9d6a27587ce2720a4 (diff)
* btree/bt_open.c: Added O_BINARY for __CYGWIN32__.
* clib/mkstemp.c: Added O_BINARY for __CYGWIN32__. * db/db.c: Added O_BINARY for __CYGWIN32__. * hash/dbm.c: Added O_BINARY for __CYGWIN32__. * hash/hash.c: Added O_BINARY for __CYGWIN32__. * hash/hsearch.c: Added O_BINARY for __CYGWIN32__. * include/db-int.h: Added O_BINARY for __CYGWIN32__. * recno/rec_open.c: Added O_BINARY for __CYGWIN32__. * test/dbtest.c: Added O_BINARY for __CYGWIN32__. * test/SEQ_TEST/t.c: Added O_BINARY for __CYGWIN32__. * test/btree.tests/main.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/driver2.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tcreat3.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tdel.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/thash4.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tread2.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tseq.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tverify.c: Added O_BINARY for __CYGWIN32__. * test/hash2.tests/bigtest.c: Added O_BINARY for __CYGWIN32__. * test/hash2.tests/passtest.c: Added O_BINARY for __CYGWIN32__. Changes originally by Jeremy Allison (jra@cygnus.com) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10364 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/db2/include')
-rw-r--r--src/util/db2/include/db-int.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/db2/include/db-int.h b/src/util/db2/include/db-int.h
index 78be4c8a3..f9da8a284 100644
--- a/src/util/db2/include/db-int.h
+++ b/src/util/db2/include/db-int.h
@@ -205,4 +205,7 @@ void __dbpanic __P((DB *dbp));
#define S_ISSOCK(m) ((m & 0170000) == 0140000) /* socket */
#endif
+#ifndef O_BINARY
+#define O_BINARY 0 /* Needed for Win32 compiles */
+#endif
#endif /* _DB_INT_H_ */