~valavanisalex/ubuntu/oneiric/inkscape/inkscape_0.48.1-2ubuntu4

« back to all changes in this revision

Viewing changes to src/isinf.h

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook, Kees Cook, Ted Gould
  • Date: 2008-02-10 14:20:16 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080210142016-vcnb2zqyhszu0xvb
Tags: 0.46~pre1-0ubuntu1
[ Kees Cook ]
* debian/control:
  - add libgtkspell-dev build-dep to gain GtkSpell features (LP: #183547).
  - update Standards version (no changes needed).
  - add Vcs and Homepage fields.
  - switch to new python-lxml dep.
* debian/{control,rules}: switch from dpatch to quilt for more sanity.
* debian/patches/20_fix_glib_and_gxx43_ftbfs.patch:
  - merged against upstream fixes.
  - added additional fixes for newly written code.
* debian/rules: enable parallel building.

[ Ted Gould ]
* Updating POTFILES.in to make it so things build correctly.
* debian/control:
  - add ImageMagick++ and libboost-dev to build-deps

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __ISINF_H__
 
2
#define __ISINF_H__
 
3
 
 
4
/*
 
5
 * Fix for missing std::isnormal with SOLARIS8/GCC3.2
 
6
 */
 
7
 
 
8
#if defined (SOLARIS_2_8) && __GNUC__ == 3 && __GNUC_MINOR__ == 2
 
9
 
 
10
        #include <ieeefp.h>
 
11
        #define isinf(x) ((fpclass(x) == FP_NINF) || (fpclass(x) == FP_PINF))
 
12
        
 
13
#elif defined(__APPLE__) && __GNUC__ == 3
 
14
#define isinf(x) __isinf(x)
 
15
#endif
 
16
 
 
17
#endif /* __ISINF_H__ */