Skip to content

Commit b31f156

Browse files
committed
Fix issue when UINT32_MAX is not defined
Seems to be the case for Dragonfly BSD
1 parent 32e4121 commit b31f156

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/debug.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33

44
#include <stdint.h>
55

6+
#ifndef UINT32_MAX
7+
#define UINT32_MAX 0xffffffffU
8+
#endif
9+
610
enum dbg_lvl_t : uint32_t {
711
NONE = 0,
812
TRIM = 1,

0 commit comments

Comments
 (0)