view include/TaskManager/error.h @ 230:56314060907f draft

fix Random
author gongo@localhost.localdomain
date Fri, 13 Feb 2009 10:53:58 +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