Mercurial > hg > Game > Cerium
view include/TaskManager/error.h @ 267:943c2ebe4483 draft
merge 172 264
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 03 Jun 2009 23:58:22 +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