YafaRay / Core

ARCHIVED-READ ONLY now. Use libYafaRay repository instead. YafaRay a free open source raytracer - Free rays for the masses!

Home Page:http://www.yafaray.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fix compile with mingw 4.5.2

exvion opened this issue · comments

megasoft78 wrote:
you need to change file includes/utilities/y_alloc.h
_aligned_malloc(size, bound); with __mingw_aligned_malloc(size, bound);
and _aligned_free(ptr); with __mingw_aligned_free(ptr);

just add __mingw at the begining

fix for this build log: http://www.pasteall.org/19055

I think this is a dirty fix. DarkTide should revert some of the changes done in the latest commit.