this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #197 from albertvaka/patch-2

Guard to avoid double defining _USE_MATH_DEFINES

authored by

Jonathan Dearborn and committed by
GitHub
a8968ccb 7b39bf76

+2
+2
include/SDL_gpu.h
··· 1 1 #ifndef _SDL_GPU_H__ 2 2 #define _SDL_GPU_H__ 3 3 4 + #ifndef _USE_MATH_DEFINES 4 5 #define _USE_MATH_DEFINES // So M_PI and company get defined on MSVC when we include math.h 6 + #endif 5 7 #include <math.h> // Must be included before SDL.h, otherwise both try to define M_PI and we get a warning 6 8 7 9 #include "SDL.h"