summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/types.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/types.h b/lib/types.h
index 3bca58c..d961ac1 100644
--- a/lib/types.h
+++ b/lib/types.h
@@ -7,8 +7,13 @@ typedef uint_fast8_t D_t;
typedef uint_fast16_t L_t;
typedef uint_fast64_t count_t;
-#define MAX_Q 256
+#define MAX_v INT_FAST32_MAX
+#define MAX_Q INT_FAST8_MAX
+#define MAX_D INT_FAST8_MAX
+#define MAX_L INT_FAST16_MAX
+#define MAX_COUNT INT_FAST64_MAX
+#define PRIv PRIuFAST32
#define PRIq PRIuFAST8
#define PRID PRIuFAST8
#define PRIL PRIuFAST16