|
From: <sv...@va...> - 2005-06-11 04:44:43
|
Author: njn
Date: 2005-06-11 05:44:38 +0100 (Sat, 11 Jun 2005)
New Revision: 3884
Log:
Move NULL from tool.h into basic_types.h.
Modified:
trunk/include/basic_types.h
trunk/include/tool.h
Modified: trunk/include/basic_types.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/include/basic_types.h 2005-06-11 03:31:09 UTC (rev 3883)
+++ trunk/include/basic_types.h 2005-06-11 04:44:38 UTC (rev 3884)
@@ -61,6 +61,9 @@
/* This is going to be either 4 or 8. */
#define VG_WORDSIZE VEX_HOST_WORDSIZE
=20
+#if !defined(NULL)
+# define NULL ((void*)0)
+#endif
=20
/* ---------------------------------------------------------------------
non-builtin types
Modified: trunk/include/tool.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/include/tool.h 2005-06-11 03:31:09 UTC (rev 3883)
+++ trunk/include/tool.h 2005-06-11 04:44:38 UTC (rev 3884)
@@ -104,10 +104,6 @@
/*=3D=3D=3D Valgrind's version of libc =
=3D=3D=3D*/
/*=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D*/
=20
-#if !defined(NULL)
-# define NULL ((void*)0)
-#endif
-
/* ------------------------------------------------------------------ */
/* stdlib.h */
=20
|