summaryrefslogtreecommitdiff
path: root/mfbt/Constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'mfbt/Constants.h')
-rw-r--r--mfbt/Constants.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/mfbt/Constants.h b/mfbt/Constants.h
new file mode 100644
index 0000000..904b301
--- /dev/null
+++ b/mfbt/Constants.h
@@ -0,0 +1,15 @@
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+/* mfbt math constants. */
+
+#ifndef mozilla_Constants_h_
+#define mozilla_Constants_h_
+
+#ifndef M_PI
+# define M_PI 3.14159265358979323846
+#endif
+
+#endif /* mozilla_Constants_h_ */