From fa6d7e10e932fcf6812d38298c99748eaa59e0a5 Mon Sep 17 00:00:00 2001 From: abnerhexu Date: Sun, 18 Jan 2026 22:17:40 +0800 Subject: [PATCH] bug fixed in multiple definition - trial 2 --- DASP/src/common.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/DASP/src/common.h b/DASP/src/common.h index 003f733..3c40119 100644 --- a/DASP/src/common.h +++ b/DASP/src/common.h @@ -1,3 +1,5 @@ +#ifndef _COMMON_H_ +#define _COMMON_H_ #include #include #include @@ -16,7 +18,7 @@ #include #include "omp.h" -// #include "mmio_highlevel.h" +#include "mmio_highlevel.h" #ifdef f64 #define MAT_VAL_TYPE double @@ -58,3 +60,4 @@ #define GET_4_BIT(src, index) ((src >> (index << 2)) & 0xf) #define GET_2_BIT(src) ((src >> 30) & 0b11) #define omp_valve 1e4 +#endif \ No newline at end of file