浏览代码

Merge pull request #1673 from assimp/kimkulling-patch-2

Update o3dgcTimer.h
Kim Kulling 7 年之前
父节点
当前提交
fd91acdfc4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      contrib/Open3DGC/o3dgcTimer.h

+ 2 - 2
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: