summaryrefslogtreecommitdiff
path: root/main_simple_scanner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main_simple_scanner.cpp')
-rw-r--r--main_simple_scanner.cpp5
1 files changed, 5 insertions, 0 deletions
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 <cstdint>
#include <iostream>
#include <vector>
#include <memory>
#include <cstdlib>
+#include <string>
+#include <cmath>
#include "vec.h"
#include "timer.h"