Commit 75476c0f authored by saubatn's avatar saubatn
Browse files

FIXED : Missing define for Windows (Win32) : does not compile on Linux platform elsewhere.

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@537 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 990b3776
......@@ -180,7 +180,7 @@ void Load::addEvent(ValueEvent * ve) {
eventList.push_back(ve);
//-- sort the list by date
#if !defined(__MINGW32__) && (_MSC_VER < 1600) // MSVC<10 only, see http://msdn.microsoft.com/en-us/library/b0084kay%28v=vs.100%29.aspx
#if defined(_WIN32) && !defined(__MINGW32__) && (_MSC_VER < 1600) // MSVC<10 only, see http://msdn.microsoft.com/en-us/library/b0084kay%28v=vs.100%29.aspx
std::sort(eventList.begin(), eventList.end(), std::greater); // use the greater() method (see above)
#else
std::sort(eventList.begin(), eventList.end(), std::greater<ValueEvent *>()); // use the greater() method (see above)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment