view include/TaskManager/error.h @ 135:ac436cebae2a draft

remove xml file
author gongo@charles.cr.ie.u-ryukyu.ac.jp
date Thu, 27 Nov 2008 16:19:50 +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