~sharpie/geos/3.3.2

« back to all changes in this revision

Viewing changes to source/headers/geos/platform.h.vc

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine, Alan Boudreault, Francesco Paolo Lovergine
  • Date: 2011-03-03 13:40:04 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110303134004-ocs5d23cuont0q61
Tags: 3.2.2-1
[ Alan Boudreault ]
* New upstream release.

[ Francesco Paolo Lovergine ]
* Policy set to 3.9.1, without changes.
* Merged log for post squeeze release.
* Repository moved to git and changed Vcs-* fields as required.
* Source format moved to 3.0 with quilt support.
* Policy changed to 3.9.1, without changes.
* Added ${misc:Depends} to bin pkgs due to dh use.
* Added -dbg package for debugging symbols.
  (closes: #582273)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**********************************************************************
2
 
 * $Id: platform.h.vc 2787 2009-12-03 19:59:06Z mloskot $
 
2
 * $Id: platform.h.vc 2956 2010-03-26 12:35:58Z mloskot $
3
3
 *
4
4
 * GEOS - Geometry Engine Open Source
5
5
 * http://geos.refractions.net
26
26
#define WIN32
27
27
#endif
28
28
 
 
29
#ifndef NOMINMAX
 
30
#define NOMINMAX
 
31
#endif
 
32
 
29
33
#include <float.h>
30
34
 
31
35
// We need M_PI, but on MSVC you need to define _USE_MATH_DEFINES before
47
51
#define DoubleInfinity std::numeric_limits<double>::infinity()
48
52
#define DoubleNegInfinity -std::numeric_limits<double>::infinity()
49
53
 
50
 
#define DoubleMax std::numeric_limits<double>::max()
 
54
#define DoubleMax (std::numeric_limits<double>::max)()
51
55
 
52
56
#define FINITE(x) _finite(static_cast<double>(x))
53
57
#define finite(x) _finite(static_cast<double>(x))