Fix M_PI not being defined for Visual Studio

This commit is contained in:
Monster Iestyn 2016-04-02 20:09:00 +01:00
parent cf89a5bb11
commit 5f3beb6899

View file

@ -101,6 +101,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#define _USE_MATH_DEFINES // fixes M_PI errors in r_plane.c for Visual Studio
#include <math.h> #include <math.h>
#ifdef GETTEXT #ifdef GETTEXT