Don't include <math.h> when HAVE_MATH_H isn't defined

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403225
This commit is contained in:
Sam Lantinga 2008-10-12 16:21:36 +00:00
parent 55650e4354
commit a3c6362a20
3 changed files with 33 additions and 3 deletions

View file

@ -22,6 +22,7 @@
#include "SDL_config.h"
#ifdef HAVE_MATH_H
#define _USE_MATH_DEFINES
#include <math.h>
#else