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
grub2: bring back build of aros-side grub2 tools
[AROS.git]
/
rom
/
filesys
/
fat
/
debug.h
blob
5132d91b316d5cc7f9cb4924c0414177ec75dba1
1
/*
2
Copyright © 1995-2015, The AROS Development Team. All rights reserved.
3
$Id$
4
*/
5
6
#ifdef __AROS__
7
#include <aros/debug.h>
8
#else
9
#if DEBUG > 0
10
#include <clib/debug_protos.h>
11
#define D(x) x
12
#define bug kprintf
13
14
static
inline
void
RawPutChars
(
const
UBYTE
*
string
,
int
len
)
15
{
16
while
(
len
--)
17
kputc
(*
string
++);
18
}
19
20
#else
21
#define D(x)
22
#endif
23
#if DEBUG > 1
24
#define DB2(x) x
25
#else
26
#define DB2(x)
27
#endif
28
#endif