eoData has been changed slightly for MacOSX
This commit is contained in:
parent
91c45767c0
commit
099b24d363
1 changed files with 10 additions and 8 deletions
|
|
@ -41,23 +41,25 @@
|
||||||
#else
|
#else
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#ifndef _WIN32 // should be the define for UN*X flavours: _POSIX??
|
|
||||||
#include <values.h>
|
|
||||||
#endif
|
|
||||||
#ifndef MAXFLOAT
|
|
||||||
#define MAXFLOAT (float)1e127
|
|
||||||
#define MAXDOUBLE (double)1.79769313486231570e+308
|
|
||||||
#define MAXINT 2147483647
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Added because it does not seem to be defined with Cygwin???
|
#if !defined(_WIN32) && !defined(__CYGWIN__) && !(defined(__APPLE__) || defined(MACOSX))
|
||||||
|
#include <values.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// for cygwin and windows (and possibly MacOsX)
|
||||||
#ifndef MINFLOAT
|
#ifndef MINFLOAT
|
||||||
#define MINFLOAT ( (float)1e-127 )
|
#define MINFLOAT ( (float)1e-127 )
|
||||||
#endif
|
#endif
|
||||||
#ifndef MAXFLOAT
|
#ifndef MAXFLOAT
|
||||||
#define MAXFLOAT ( (float)1e127 )
|
#define MAXFLOAT ( (float)1e127 )
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef MAXINT
|
||||||
|
#define MAXINT 2147483647
|
||||||
|
#endif
|
||||||
|
#ifndef MAXDOUBLE
|
||||||
|
#define MAXDOUBLE (double)1.79769313486231570e+308
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
|
||||||
Reference in a new issue