Skip to content

Commit e8dd2f3

Browse files
committed
Added APOLLO_DEBUG for Partition
1 parent 13d4c99 commit e8dd2f3

1 file changed

Lines changed: 11 additions & 14 deletions

File tree

rom/partition/debug.h

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
11
#ifndef PDEBUG_H
22
#define PDEBUG_H
33

4-
#ifdef __AMIGAOS__
5-
6-
#if APOLLO_DEBUG
7-
#define DEBUG 1
8-
#else
9-
#define DEBUG 0
10-
#endif
11-
12-
#if DEBUG
13-
#define D(x) x
14-
#define bug kprintf
15-
#endif
4+
#if APOLLO_DEBUG
5+
#define DEBUG 0
6+
#else
7+
#define DEBUG 0
8+
#endif
169

17-
#define kprintf(x)
10+
#if DEBUG
11+
#define DD(x) x
12+
#define D(x)
13+
#define bug kprintf
1814
#else
19-
#include <aros/debug.h>
15+
#define D(x)
16+
#define DD(x)
2017
#endif
2118

2219
#endif

0 commit comments

Comments
 (0)