diff --git a/src/devices/cpu/cpudevice.cpp b/src/devices/cpu/cpudevice.cpp index c7084fc5..7fb54ca9 100644 --- a/src/devices/cpu/cpudevice.cpp +++ b/src/devices/cpu/cpudevice.cpp @@ -16,6 +16,7 @@ #endif #include "utils.h" +#define M_PI 3.14159265358979323846 // pi namespace fastllm { CpuDevice::CpuDevice() {