bah ifndef on function name is not that smart, just do it on __MINGW32__