Fixed warning by splitting out win32 specific stuff from timer.cc

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@498 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2012-01-16 09:58:56 +00:00
parent f450c7a625
commit bd14f87e73
2 changed files with 7 additions and 3 deletions

View File

@@ -195,9 +195,7 @@ void TimerImplStd::stop(void)
Timer::Timer(void)
{
#if defined(WIN32) && defined(_MSC_VER)
impl_ = new TimerImplWin32;
#elif defined(__GNUC__) && defined(__POSIX__)
#if defined(__GNUC__) && defined(__POSIX__)
// CLOCK_REALTIME
// CLOCK_MONOTONIC - ?
// CLOCK_REALTIME_HR - RTlinux