mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 05:27:51 +08:00
9502b2044d
* [mathgl] Update to v2.5 and apply fixes * Update CI baseline
15 lines
435 B
Diff
15 lines
435 B
Diff
diff --git "a/include/mgl2/define.h" "b/include/mgl2/define.h"
|
|
index e23ec04..8e79086 100644
|
|
--- "a/include/mgl2/define.h"
|
|
+++ "b/include/mgl2/define.h"
|
|
@@ -141,7 +140,9 @@ typedef long msize;
|
|
#define getcwd _getcwd
|
|
#define chdir _chdir // BORLAND has chdir
|
|
#endif
|
|
+#if (_MSC_VER<1500)
|
|
#define snprintf _snprintf
|
|
+#endif
|
|
#if (_MSC_VER<1600) // based on https://hg.python.org/cpython/rev/9aedb876c2d7
|
|
#define hypot _hypot
|
|
#endif
|