/*$cb
 *    This file is a part of libopenmhp.
 *
 *    Copyright (C) 2005 Mikko Novaro <miknov@gmail.com>
 *
 *    See main header file (libopenmhp/openmhp.h) for licensing and
 *    contact information.
 $ce*/

#ifndef _LIBOPENMHP_MACROS_H_
#define _LIBOPENMHP_MACROS_H_

#include <stdio.h>

#ifdef DEBUG_LIBOPENMHP
#define DBG(msg...) do { printf("LIBOPENMHP (D): "); printf(msg); printf("\n"); } while(0)
#endif

#ifndef DEBUG_LIBOPENMHP
#define DBG(msg...) ;
#endif

#define MSG(msg...) do { printf("LIBOPENMHP (M): "); printf(msg); printf("\n"); } while(0)
#define ERR(msg...) do { printf("LIBOPENMHP (E): "); printf(msg); printf("\n"); } while(0)

#endif
