mirror of
https://github.com/Aloshi/EmulationStation.git
synced 2024-05-16 03:10:26 -04:00
Fix linux (fedora) compilation issues
This commit is contained in:
parent
646bede3d9
commit
49ccd8fc7a
|
@ -26,7 +26,7 @@ std::string strToUpper(const std::string& str)
|
|||
}
|
||||
|
||||
|
||||
#if _MSC_VER < 1800
|
||||
#if defined(_WIN32) && _MSC_VER < 1800
|
||||
float round(float num)
|
||||
{
|
||||
return (float)((int)(num + 0.5f));
|
||||
|
|
|
@ -15,7 +15,9 @@ Eigen::Affine3f roundMatrix(const Eigen::Affine3f& mat);
|
|||
Eigen::Vector3f roundVector(const Eigen::Vector3f& vec);
|
||||
Eigen::Vector2f roundVector(const Eigen::Vector2f& vec);
|
||||
|
||||
#if defined(_WIN32) && _MSC_VER < 1800
|
||||
float round(float num);
|
||||
#endif
|
||||
|
||||
std::string getCanonicalPath(const std::string& str);
|
||||
|
||||
|
|
Loading…
Reference in a new issue