Skip to content

Commit 5308e6b

Browse files
authored
Merge pull request matplotlib#12867 from anntzer/oldmsvc
Drop compat code for outdated MSVC.
2 parents 3c702c4 + 67622c6 commit 5308e6b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/mplutils.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
#ifndef MPLUTILS_H
66
#define MPLUTILS_H
77

8-
#if defined(_MSC_VER) && _MSC_VER <= 1600
9-
typedef unsigned __int8 uint8_t;
10-
#else
118
#include <stdint.h>
12-
#endif
139

1410
#ifdef _POSIX_C_SOURCE
1511
# undef _POSIX_C_SOURCE
@@ -56,10 +52,4 @@ const size_t NUM_VERTICES[] = { 1, 1, 1, 2, 3, 1 };
5652

5753
extern "C" int add_dict_int(PyObject *dict, const char *key, long val);
5854

59-
#if defined(_MSC_VER) && (_MSC_VER < 1800)
60-
namespace std {
61-
inline bool isfinite(double num) { return _finite(num) != 0; }
62-
}
63-
#endif
64-
6555
#endif

0 commit comments

Comments
 (0)