undefine open so this works on solaris with large file support
From netbsd's pkgsrc via Gavan Fantom git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14290 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -50,6 +50,8 @@ RCSID("$Id$");
|
||||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
/* XXX undefine open so this works on Solaris with large file support */
|
||||
#undef open
|
||||
|
||||
#define DBT2DATUM(DBT, DATUM) do { (DATUM)->dptr = (DBT)->data; (DATUM)->dsize = (DBT)->size; } while(0)
|
||||
#define DATUM2DBT(DATUM, DBT) do { (DBT)->data = (DATUM)->dptr; (DBT)->size = (DATUM)->dsize; } while(0)
|
||||
|
Reference in New Issue
Block a user