Small changes to hopefully fix compile issues on linux

This commit is contained in:
Blake Thompson 2015-02-04 20:48:59 -06:00
parent 06ef081282
commit 5966b12973
3 changed files with 5 additions and 5 deletions

View file

@ -35,7 +35,6 @@
#include <mapnik/util/conversions.hpp>
// stl
#include <cstdint>
#include <map>
#include <set>
#include <cmath>

View file

@ -23,8 +23,7 @@
#ifndef MAPNIK_PIXEL_TYPES_HPP
#define MAPNIK_PIXEL_TYPES_HPP
// std
#include <cstdint>
#include <mapnik/global.hpp>
struct rgba8_t { using type = std::uint32_t; };
struct gray8_t { using type = std::uint8_t; };

View file

@ -43,10 +43,12 @@ namespace mapnik {
#ifdef BIGINT
//using value_integer = boost::long_long_type;
using value_integer = long long;
//using value_integer = long long;
using value_integer = std::int64_t;
using value_integer_pixel = gray64s_t;
#else
using value_integer = int;
//using value_integer = int;
using value_integer = std::int32_t;
using value_integer_pixel = gray32s_t;
#endif