Mercurial > hg > Members > kono > Cerium
diff include/TaskManager/error.h @ 42:aa11038dbdc1
*** empty log message ***
author | gongo |
---|---|
date | Thu, 14 Feb 2008 18:27:37 +0900 |
parents | bd5fc2e3f8c7 |
children | db136fb5c21d |
line wrap: on
line diff
--- a/include/TaskManager/error.h Wed Feb 13 23:49:08 2008 +0900 +++ b/include/TaskManager/error.h Thu Feb 14 18:27:37 2008 +0900 @@ -1,4 +1,3 @@ -//extern void __debug(char *str); #ifdef DEBUG # include <stdio.h> # define __debug(...) do { \ @@ -7,3 +6,13 @@ #else /* DEBUG */ # define __debug(...) #endif + +#ifdef _PPE_DEBUG +# include <stdio.h> +# define __debug_ppe(...) do { \ + printf(__VA_ARGS__); \ + } while (0) +#else /* DEBUG */ +# define __debug_ooe(...) +#endif +