Commit 0b7c2b28 authored by hybrid's avatar hybrid

Resolve include order for float.h and local defines.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2604 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 217c8a31
......@@ -5,10 +5,7 @@
#ifndef __FAST_A_TO_F_H_INCLUDED__
#define __FAST_A_TO_F_H_INCLUDED__
#include <stdlib.h>
#include "irrMath.h"
#include <float.h> // For FLT_MAX
#include <limits.h> // For INT_MAX / UINT_MAX
namespace irr
{
......
......@@ -8,7 +8,9 @@
#include "IrrCompileConfig.h"
#include "irrTypes.h"
#include <math.h>
#include <float.h>
#include <stdlib.h> // for abs() etc.
#include <limits.h> // For INT_MAX / UINT_MAX
#if defined(_IRR_SOLARIS_PLATFORM_) || defined(__BORLANDC__) || defined (__BCPLUSPLUS__) || defined (_WIN32_WCE)
#define sqrtf(X) (f32)sqrt((f64)(X))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment