summaryrefslogtreecommitdiff
path: root/src/util/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/math.h')
-rw-r--r--src/util/math.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/math.h b/src/util/math.h
index 8aa2c7a..f565b76 100644
--- a/src/util/math.h
+++ b/src/util/math.h
@@ -4,6 +4,6 @@
#pragma once
-#ifndef M_PI
+#if !defined(M_PI)
#define M_PI 3.14159265358979323846
-#endif
+#endif /* !defined(M_PI) */