[mpich2-commits] r5514 - mpich2/trunk/src/include
balaji at mcs.anl.gov
balaji at mcs.anl.gov
Tue Oct 20 20:22:55 CDT 2009
Author: balaji
Date: 2009-10-20 20:22:55 -0500 (Tue, 20 Oct 2009)
New Revision: 5514
Modified:
mpich2/trunk/src/include/mpiu_valgrind.h
Log:
Fix a bug that got introduced in r5508 causing some MPIU_VG macros to
not be defined.
Modified: mpich2/trunk/src/include/mpiu_valgrind.h
===================================================================
--- mpich2/trunk/src/include/mpiu_valgrind.h 2009-10-21 00:30:52 UTC (rev 5513)
+++ mpich2/trunk/src/include/mpiu_valgrind.h 2009-10-21 01:22:55 UTC (rev 5514)
@@ -66,21 +66,12 @@
# define MPIU_VG_CHECK_MEM_IS_ADDRESSABLE(addr_,len_) do{}while(0)
# define MPIU_VG_CREATE_BLOCK(addr_,len_,desc_) do{}while(0)
# define MPIU_VG_RUNNING_ON_VALGRIND() (0)/*always false*/
-# if defined(HAVE_MACRO_VA_ARGS)
-# define MPIU_VG_PRINTF_BACKTRACE(...) do{}while(0)
-# else
-# define MPIU_VG_PRINTF_BACKTRACE MPIU_VG_printf_do_nothing_func
-static inline void MPIU_VG_printf_do_nothing_func(char *fmt, ...)
-{
- /* do nothing */
-}
-
+# define MPIU_VG_PRINTF_BACKTRACE(...) do{}while(0)
# define MPIU_VG_CREATE_MEMPOOL(pool, rzB, is_zeroed) do{}while(0)
# define MPIU_VG_DESTROY_MEMPOOL(pool) do{}while(0)
# define MPIU_VG_MEMPOOL_ALLOC(pool, addr, size) do{}while(0)
# define MPIU_VG_MEMPOOL_FREE(pool, addr) do{}while(0)
-# endif
#endif /* defined(MPIU_VG_AVAILABLE) */
More information about the mpich2-commits
mailing list