Browse Source

Fix msc_vers mismatch

TODO: push these back to ARM's version
Andrew Willmott 7 năm trước cách đây
mục cha
commit
3bcf40fbfa
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      3rdparty/astc/mathlib.h

+ 1 - 1
3rdparty/astc/mathlib.h

@@ -27,7 +27,7 @@ float cospi(float p);
 
 float nan(int p);
 
-#if __cplusplus < 201103L
+#if (!_MSC_VER) && (__cplusplus < 201103L)
 float fmax(float p, float q);
 float fmin(float p, float q);
 #endif  // C++11