File tree 3 files changed +23
-14
lines changed
3 files changed +23
-14
lines changed Original file line number Diff line number Diff line change 1
1
#ifndef _PANDAS_PORTABLE_H_
2
2
#define _PANDAS_PORTABLE_H_
3
3
4
+ // To get `strdup` from strings.h
5
+ #ifndef _XOPEN_SOURCE
6
+ #define _XOPEN_SOURCE 600
7
+ #endif
8
+
9
+ #include <string.h>
10
+
4
11
#if defined(_MSC_VER )
5
12
#define strcasecmp ( s1 , s2 ) _stricmp( s1, s2 )
13
+ #define strdup _strdup
6
14
#endif
7
15
8
16
// GH-23516 - works around locale perf issues
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ tree doesn't have cyclic references.
54
54
55
55
#include <stdio.h>
56
56
#include <wchar.h>
57
+ #include "../../headers/portable.h"
57
58
58
59
// Don't output any extra whitespaces when encoding
59
60
#define JSON_NO_EXTRA_WHITESPACE
Original file line number Diff line number Diff line change 1
1
[
2
2
{
3
3
"name" : " dev" ,
4
- "version" : " dev" ,
5
- "url" : " https://pandas.pydata.org /docs/dev/"
4
+ "version" : " docs/ dev" ,
5
+ "url" : " /docs/dev/"
6
6
},
7
7
{
8
8
"name" : " 1.5 (stable)" ,
9
- "version" : " 1.5 (stable) " ,
10
- "url" : " https://pandas.pydata.org /docs/"
9
+ "version" : " docs " ,
10
+ "url" : " /docs/"
11
11
},
12
12
{
13
13
"name" : " 1.4" ,
14
- "version" : " 1.4" ,
15
- "url" : " https://pandas.pydata.org /pandas-docs/version/1.4/"
14
+ "version" : " pandas-docs/version/ 1.4" ,
15
+ "url" : " /pandas-docs/version/1.4/"
16
16
},
17
17
{
18
18
"name" : " 1.3" ,
19
- "version" : " 1.3" ,
20
- "url" : " https://pandas.pydata.org /pandas-docs/version/1.3/"
19
+ "version" : " pandas-docs/version/ 1.3" ,
20
+ "url" : " /pandas-docs/version/1.3/"
21
21
},
22
22
{
23
23
"name" : " 1.2" ,
24
- "version" : " 1.2" ,
25
- "url" : " https://pandas.pydata.org /pandas-docs/version/1.2/"
24
+ "version" : " pandas-docs/version/ 1.2" ,
25
+ "url" : " /pandas-docs/version/1.2/"
26
26
},
27
27
{
28
28
"name" : " 1.1" ,
29
- "version" : " 1.1" ,
30
- "url" : " https://pandas.pydata.org /pandas-docs/version/1.1/"
29
+ "version" : " pandas-docs/version/ 1.1" ,
30
+ "url" : " /pandas-docs/version/1.1/"
31
31
},
32
32
{
33
33
"name" : " 1.0" ,
34
- "version" : " 1.0" ,
35
- "url" : " https://pandas.pydata.org /pandas-docs/version/1.0/"
34
+ "version" : " pandas-docs/version/ 1.0" ,
35
+ "url" : " /pandas-docs/version/1.0/"
36
36
}
37
37
]
You can’t perform that action at this time.
0 commit comments