summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2011-03-24 20:01:15 (GMT)
committer Simon <simon@hardwired.org.uk>2011-03-24 20:01:15 (GMT)
commit635ad0afdc33c7ae7c0679fd37ab665705e1b824 (patch)
tree717e8b8b720f67011ca851c0c550482e344f5751 /includes
parentb538a760d0f37a759e7c30e636386aad9eb05eb0 (diff)
downloadpowder-635ad0afdc33c7ae7c0679fd37ab665705e1b824.zip
powder-635ad0afdc33c7ae7c0679fd37ab665705e1b824.tar.gz
M_PI for those who aren't awesome enough for Pi
Diffstat (limited to 'includes')
-rw-r--r--includes/defines.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/defines.h b/includes/defines.h
index 1af4d33..484005c 100644
--- a/includes/defines.h
+++ b/includes/defines.h
@@ -18,6 +18,10 @@
//#define pyconsole
+#ifndef M_PI
+#define M_PI 3.14159265f
+#endif
+
#define IMGCONNS 3
#define TIMEOUT 100
#define HTTP_TIMEOUT 10