[Commits] [wesnoth/wesnoth] e97bd1: fixup std::abs in map_location.hpp
GitHub
noreply at github.com
Mon Oct 27 20:37:58 UTC 2014
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: e97bd1a2bcded120f06409a1f9a9de7dc0362ba8
https://github.com/wesnoth/wesnoth/commit/e97bd1a2bcded120f06409a1f9a9de7dc0362ba8
Author: Chris Beck <render787 at gmail.com>
Date: 2014-10-27 (Mon, 27 Oct 2014)
Changed paths:
M src/map_location.hpp
Log Message:
-----------
fixup std::abs in map_location.hpp
The reason that OS X wasn't finding std::abs(int) is that we
weren't including <cstdlib>, which is where it resides, not
<cmath>. This commit adds cstdlib, and reverts the other fix
attempts.
This fixes up two previous commits:
b05773c4099e9a2c987adc0c656ec7ed96dec0ff
7ce9199e470025b69935812d8445fc280767fb42
More information about the Commits
mailing list