repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
W.I.P AROS port of SDI examples
[AROS.git]
/
rom
/
filesys
/
fat
/
debug.h
blob
d6c628c07edf08bedd6a494a57c66fa0d6bd1732
1
#ifdef __AROS__
2
#include <aros/debug.h>
3
#else
4
#if DEBUG > 0
5
#include <clib/debug_protos.h>
6
#define D(x) x
7
#define bug kprintf
8
9
static
inline
void
RawPutChars
(
const
UBYTE
*
string
,
int
len
)
10
{
11
while
(
len
--)
12
kputc
(*
string
++);
13
}
14
15
#else
16
#define D(x)
17
#endif
18
#if DEBUG > 1
19
#define DB2(x) x
20
#else
21
#define DB2(x)
22
#endif
23
#endif
24