CVS update: samba/source/ubiqx
Fri May 22 03:14:21 EST 1998
Date: Friday May 22, 1998 @ 3:14
Author: crh
Update of /data/cvs/samba/source/ubiqx
In directory samba:/tmp/cvs-serv1369/ubiqx
Modified Files:
ubi_AVLtree.c ubi_AVLtree.h ubi_BinTree.c ubi_BinTree.h
ubi_Cache.c ubi_Cache.h ubi_SplayTree.c ubi_SplayTree.h
ubi_dLinkList.c ubi_dLinkList.h ubi_sLinkList.c
ubi_sLinkList.h
Added Files:
ubi_null.h
Log Message:
Along the lines that Andrew suggested, I added a header called ubi_null.h.
This header tries four different locations for a definition of NULL. If
NULL still hasn't been found, it defaults to ((void *)0). All of the
includes can be, essentially, overridden by defining NULL on the command
line, as in -DNULL=((void *)0). I have faith that this will avoid the
problem of NULL being in different places on different systems. If there
is a system out there that doesn't define NULL in any of the headers I've
included, then let me know *where* it's defined and I'll add another
header. Chris -)-----
More information about the samba-cvs
mailing list