Sprite: Define M_PI manually
Apparently (older?) mingw-w64 with C++11 enabled doesn't have it.
This commit is contained in:
		
							parent
							
								
									b1eed5fb00
								
							
						
					
					
						commit
						30ade2c240
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -35,6 +35,9 @@
 | 
			
		|||
#include "quadarray.h"
 | 
			
		||||
 | 
			
		||||
#include <math.h>
 | 
			
		||||
#ifndef M_PI
 | 
			
		||||
# define M_PI 3.14159265358979323846
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include <SDL_rect.h>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue