From cf59c7d1533ea712306e9ffc966bcde18dca704d Mon Sep 17 00:00:00 2001 From: Kim Kulling <kimkulling@users.noreply.github.com> Date: Wed, 3 Jan 2018 00:56:32 +0100 Subject: [PATCH] Update o3dgcTimer.h closes https://github.com/assimp/assimp/issues/1642: fix build on Hurd --- contrib/Open3DGC/o3dgcTimer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/Open3DGC/o3dgcTimer.h b/contrib/Open3DGC/o3dgcTimer.h index 00fe5b653..d9a285968 100644 --- a/contrib/Open3DGC/o3dgcTimer.h +++ b/contrib/Open3DGC/o3dgcTimer.h @@ -30,7 +30,7 @@ THE SOFTWARE. /* Thank you, Microsoft, for file WinDef.h with min/max redefinition. */ #define NOMINMAX #include <windows.h> -#elif __MACH__ +#elif __APPLE__ #include <mach/clock.h> #include <mach/mach.h> #else @@ -73,7 +73,7 @@ namespace o3dgc LARGE_INTEGER m_freq; }; -#elif __MACH__ +#elif __APPLE__ class Timer { public: -- GitLab