Skip to content

Commit

Permalink
Merge pull request #1242 from biddisco/mac_fixes
Browse files Browse the repository at this point in the history
Mac fixes
  • Loading branch information
sithhell committed Sep 4, 2014
2 parents 8136d19 + 0aa2523 commit 13dd1ee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -5,3 +5,4 @@

*.pyc
build
.DS_Store
4 changes: 2 additions & 2 deletions hpx/parallel/util/partitioner.hpp
Expand Up @@ -127,7 +127,7 @@ namespace hpx { namespace parallel { namespace util
count -= test_chunk_size;

// return chunk size which will create 80 microseconds of work
return t == 0 ? 0 : (std::min)(count, 80000 / t);
return t == 0 ? 0 : (std::min)(count, (std::size_t)(80000 / t));
}

template <typename ExPolicy, typename Result, typename F1,
Expand Down Expand Up @@ -376,7 +376,7 @@ namespace hpx { namespace parallel { namespace util
count -= test_chunk_size;

// return chunk size which will create 80 microseconds of work
return t == 0 ? 0 : (std::min)(count, 80000 / t);
return t == 0 ? 0 : (std::min)(count, (std::size_t)(80000 / t));
}

template <typename ExPolicy, typename Result, typename F1,
Expand Down
1 change: 1 addition & 0 deletions tools/CMakeLists.txt
Expand Up @@ -15,4 +15,5 @@ foreach(tool ${tools})
SOURCES ${tool}.cpp ${${tool}}
FOLDER "Tools/${tool}")
add_hpx_pseudo_dependencies(tools ${tool}_exe)
target_link_libraries(${tool}_exe ${Boost_LIBRARIES})
endforeach()

0 comments on commit 13dd1ee

Please sign in to comment.