summaryrefslogtreecommitdiff
path: root/main_simple_scanner.cpp
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-12-24 17:08:15 +0800
committerKeuin <[email protected]>2022-12-24 17:26:01 +0800
commit0987464cf99120b6728949496ee41bd14a35b225 (patch)
tree749e84bcd17ec002bc486aa308c8636df2e21de2 /main_simple_scanner.cpp
parentda03ccd81467af87452b45763da87a4e3ce603a1 (diff)
Make it compile with MSVC.HEADmaster
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"