From fd60854bb0d14164af6dd4e5a087251ce804ef3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 6 Oct 2004 17:45:07 +0000 Subject: [PATCH] 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 --- lib/roken/ndbm_wrap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/roken/ndbm_wrap.c b/lib/roken/ndbm_wrap.c index 7c7d6c37a..532c6c9b0 100644 --- a/lib/roken/ndbm_wrap.c +++ b/lib/roken/ndbm_wrap.c @@ -50,6 +50,8 @@ RCSID("$Id$"); #include #include +/* 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)