view include/TaskManager/error.h @ 195:4e66b3327c50 draft

fix
author gongo@gendarme.cr.ie.u-ryukyu.ac.jp
date Sun, 25 Jan 2009 17:44:17 +0900
parents 028ffc9c0375
children 1d170c909c09
line wrap: on
line source

#ifdef DEBUG
#  include <stdio.h>
#  define __debug(...) do { \
	fprintf(stderr, __VA_ARGS__);		\
    } while (0)
#else /* DEBUG */
#  define __debug(...)
#endif

#ifdef _PPE_DEBUG
#  include <stdio.h>
#  define __debug_ppe(...) do { \
	printf("[PPE] "); printf(__VA_ARGS__);	\
    } while (0)
#else /* DEBUG */
#  define __debug_ppe(...)
#endif

#ifdef _PPE_DEBUG
#  include <stdio.h>
#  define __debug_spe(...) do { \
	printf("[SPE] "); printf(__VA_ARGS__);	\
    } while (0)
#else /* DEBUG */
#  define __debug_ppe(...)
#endif