view error.h @ 53:b31bed246abd

fix code and add log.
author koba <koba@cr.ie.u-ryukyu.ac.jp>
date Tue, 25 Jan 2011 17:43:30 +0900
parents 435ac1cdb64e
children
line wrap: on
line source

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