debug.h

Mon, 20 Apr 2020 10:14:32 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Mon, 20 Apr 2020 10:14:32 -0500
changeset 119
87e3bb5086e8
parent 81
ebefcbcb126f
permissions
-rw-r--r--

Convert README to markdown

81
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
1 /*
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
2 * libtu/debug.h
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
3 *
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
4 * Copyright (c) Tuomo Valkonen 2004.
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
5 *
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
6 * You may distribute and modify this library under the terms of either
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
7 * the Clarified Artistic License or the GNU LGPL, version 2.1 or later.
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
8 */
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
9
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
10 #ifndef LIBTU_DEBUG_H
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
11 #define LIBTU_DEBUG_H
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
12
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
13 #ifdef CF_DEBUG
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
14 #define D(X) X
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
15 #else
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
16 #define D(X)
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
17 #endif
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
18
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
19 #endif /* LIBTU_DEBUG_H */

mercurial