]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - matrixlib.h
fixed another stack overflow on win32, apparently a 64k packet buffer on the stack...
[xonotic/darkplaces.git] / matrixlib.h
index 2315017980359d5aed3286ca50cf421a6d27323c..c54764435a3d73f5b0b60540f091b2efa07912e3 100644 (file)
@@ -2,6 +2,10 @@
 #ifndef MATRIXLIB_H
 #define MATRIXLIB_H
 
+#ifndef M_PI
+#define M_PI           3.14159265358979323846  // matches value in gcc v2 math.h
+#endif
+
 typedef struct matrix4x4_s
 {
        float m[4][4];