浏览代码

Merge pull request #1053 from rdb/patch-2

Fix compile error with MSVC 2015
Kim Kulling 9 年之前
父节点
当前提交
413116a73b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      contrib/Open3DGC/o3dgcTimer.h

+ 2 - 2
contrib/Open3DGC/o3dgcTimer.h

@@ -26,7 +26,7 @@ THE SOFTWARE.
 
 #include "o3dgcCommon.h"
 
-#ifdef WIN32
+#ifdef _WIN32
 /* Thank you, Microsoft, for file WinDef.h with min/max redefinition. */
 #define NOMINMAX
 #include <windows.h>
@@ -42,7 +42,7 @@ THE SOFTWARE.
 
 namespace o3dgc
 {
-#ifdef WIN32
+#ifdef _WIN32
     class Timer
     {
     public: