Skip to content

Commit

Permalink
add pragma for winmm when using timeGetTime
Browse files Browse the repository at this point in the history
fyoda discovered this while trying to use shogun
  • Loading branch information
vigsterkr committed Apr 12, 2018
1 parent d8c84e9 commit aac83db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shogun/lib/Time.cpp
Expand Up @@ -89,6 +89,7 @@ float64_t CTime::stop(bool verbose)
}

#if defined(_MSC_VER) || defined(__MINGW32__) || defined(__MINGW64__)
#pragma comment(lib, "winmm")
int gettimeofday(struct timeval* tp, void* tzp)
{
DWORD t;
Expand Down

0 comments on commit aac83db

Please sign in to comment.