Explorar o código

Merge branch 'gltf_o3dgc' of https://github.com/smalcom/assimp into gltf_o3dgc

Alexandr Arutjunov %!s(int64=9) %!d(string=hai) anos
pai
achega
0bc410a562
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      contrib/Open3DGC/o3dgcTimer.h

+ 2 - 0
contrib/Open3DGC/o3dgcTimer.h

@@ -27,6 +27,8 @@ THE SOFTWARE.
 #include "o3dgcCommon.h"
 #include "o3dgcCommon.h"
 
 
 #ifdef WIN32
 #ifdef WIN32
+/* Thank you, Microsoft, for file WinDef.h with min/max redefinition. */
+#define NOMINMAX
 #include <windows.h>
 #include <windows.h>
 #elif __MACH__
 #elif __MACH__
 #include <mach/clock.h>
 #include <mach/clock.h>