MinGW support
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@471 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -181,7 +181,7 @@ protected:
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------- gettimeofday ----
|
||||
#elif defined(__GNUC__) || (defined(__INTEL_COMPILER) && !defined(WIN32))
|
||||
#elif (defined(__GNUC__) || (defined(__INTEL_COMPILER) && !defined(WIN32))) && !defined(__MINGW32__)
|
||||
|
||||
# include <sys/time.h>
|
||||
# include <sys/resource.h>
|
||||
@@ -268,7 +268,7 @@ Timer::Timer(void)
|
||||
# else
|
||||
impl_ = new TimerImplPosix<CLOCK_REALTIME>;
|
||||
# endif
|
||||
#elif defined(__GNUC__) || (defined(__INTEL_COMPILER) && !defined(WIN32))
|
||||
#elif (defined(__GNUC__) || (defined(__INTEL_COMPILER) && !defined(WIN32)) ) && !defined(__MINGW32__)
|
||||
impl_ = new TimerImplGToD;
|
||||
#else
|
||||
impl_ = new TimerImplStd;
|
||||
|
||||
Reference in New Issue
Block a user