Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

platform.h

00001 /* source/headers/geos/platform.h.  Generated by configure.  */
00002 #ifndef GEOS_PLATFORM_H
00003 #define GEOS_PLATFORM_H
00004 
00005 /* Set to 1 if `long int' is 64 bits */
00006 /* #undef HAVE_LONG_INT_64 */
00007 
00008 /* Set to 1 if `long long int' is 64 bits */
00009 #define HAVE_LONG_LONG_INT_64 
00010 
00011 /* Set to 1 if you have ieeefp.h */
00012 /* #undef HAVE_IEEEFP_H */
00013 
00014 #ifdef HAVE_IEEEFP_H
00015 #include <ieeefp.h>
00016 #endif
00017 
00018 
00019 //Defines NaN for intel platforms
00020 //Don't forget to define infinities
00021 #define DoubleNotANumber 1.7e-308
00022 #define DoubleInfinity 1.7e+308
00023 #define DoubleNegInfinity -1.7e+308
00024 
00025 #define FINITE(x) ( (x) != DoubleNotANumber && (x) != DoubleInfinity && (x) != DoubleNegInfinity )
00026 #define ISNAN(x) ( (x) == DoubleNotANumber )
00027 
00028 #ifdef HAVE_LONG_LONG_INT_64
00029  typedef long long int int64;
00030 #else
00031  typedef long int int64;
00032 #ifndef HAVE_LONG_INT_64
00033 #define INT64_IS_REALLY32 1
00034 #warning "Could not find 64bit integer definition!"
00035 #endif
00036 #endif
00037 
00038 #endif

Generated on Sat May 28 11:24:08 2005 for GEOS by  doxygen 1.4.2