~dgleich/matlab-bgl/master

« back to all changes in this revision

Viewing changes to libmbgl/yasmic/boost_mod/integer_extra.hpp

  • Committer: David Gleich
  • Date: 2008-09-29 22:06:39 UTC
  • mfrom: (1.1.19 work)
  • Revision ID: dgleich@stanford.edu-20080929220639-4ic8mxd20lu81dla
Incorporated misc. fixes and graph layout algorithms.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef YASMIC_BOOST_MOD_INTEGER_EXTRA_HPP
 
2
#define YASMIC_BOOST_MOD_INTEGER_EXTRA_HPP
 
3
 
 
4
/**
 
5
 * @file integer_extra.hpp
 
6
 * This file fixes some problems with the boost::int_t type
 
7
 * and 64-bit compiles under Windows.
 
8
 */
 
9
 
 
10
#ifdef BOOST_MSVC
 
11
// this code is only for MSVC
 
12
namespace boost {
 
13
    template <>
 
14
    struct int_t<64> {
 
15
        typedef __int64 least;
 
16
        typedef __int64 fast;
 
17
    };
 
18
}
 
19
#endif // BOOST_MSVC
 
20
 
 
21
#endif // YASMIC_BOOST_MOD_INTEGER_EXTRA_HPP