Move NULL from tool.h into basic_types.h.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3884
This commit is contained in:
Nicholas Nethercote
2005-06-11 04:44:38 +00:00
parent ffc2a3f8ee
commit 0622471f7b
2 changed files with 3 additions and 4 deletions

View File

@@ -61,6 +61,9 @@ typedef Word OffT; // 32 64
/* This is going to be either 4 or 8. */
#define VG_WORDSIZE VEX_HOST_WORDSIZE
#if !defined(NULL)
# define NULL ((void*)0)
#endif
/* ---------------------------------------------------------------------
non-builtin types