From 0987464cf99120b6728949496ee41bd14a35b225 Mon Sep 17 00:00:00 2001 From: Keuin Date: Sat, 24 Dec 2022 17:08:15 +0800 Subject: Make it compile with MSVC. --- main_simple_scanner.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'main_simple_scanner.cpp') diff --git a/main_simple_scanner.cpp b/main_simple_scanner.cpp index 16a39a0..28e9ef3 100644 --- a/main_simple_scanner.cpp +++ b/main_simple_scanner.cpp @@ -2,11 +2,16 @@ // Created by Keuin on 2022/4/11. // +// include M_PI from cmath when using MSVC +#define _USE_MATH_DEFINES + #include #include #include #include #include +#include +#include #include "vec.h" #include "timer.h" -- cgit v1.2.3