summaryrefslogtreecommitdiff
path: root/src/trace.h
blob: 345a2deb9b3178bce8fbfd4c820fa8bd778a8db6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (C) 2007 Xagasoft, All rights reserved.
 *
 * This file is part of the libbu++ library and is released under the
 * terms of the license contained in the file LICENSE.
 */

#ifndef BU_TRACE_H
#define BU_TRACE_H

#ifdef BU_TRACE
# define TRACE() printf("trace: %s\n", __PRETTY_FUNCTION__ )
#else
# define TRACE() {}
#endif

#endif