Skip to content

Commit

Permalink
attempt to fix cygwin build
Browse files Browse the repository at this point in the history
  • Loading branch information
Soeren Sonnenburg committed Feb 10, 2014
1 parent 9dabfca commit 332be4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/mathematics/Math.cpp
Expand Up @@ -346,7 +346,7 @@ bool CMath::strtold(const char* str, floatmax_t* long_double_result)
char* endptr = buf.vector;

// fall back to double on win32 / cygwin since strtold is undefined there
#ifdef WIN32
#if defined(WIN32) || defined(__CYGWIN__)
*long_double_result=::strtod(str, &endptr);
#else
*long_double_result=::strtold(str, &endptr);
Expand Down

0 comments on commit 332be4b

Please sign in to comment.