This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
jdk-build-libs
/
json-c
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
11
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Merge branch 'master' of github.com:lhunath/json-c
pull/354/head
Maarten Billemont
8 years ago
parent
c820d6a81c
af87944585
commit
ac00e62db3
3 changed files
with
15 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
.travis.yml
+1
-1
strerror_override.c
+13
-1
strerror_override.h
+ 1
- 1
.travis.yml
View File
@@ -22,7 +22,7 @@ install:
- sh autogen.sh
before_script:
- ./configure
--enable-strerror-override
- ./configure
script:
- make
+ 1
- 1
strerror_override.c
View File
@@ -1,4 +1,4 @@
#define STERROR_OVERRIDE_IMPL 1
#define ST
R
ERROR_OVERRIDE_IMPL 1
#include "strerror_override.h"
/*
+ 13
- 1
strerror_override.h
View File
@@ -4,10 +4,22 @@
#include "config.h"
#include <errno.h>
char *_json_c_strerror(int errno_in);
#include "json_object.h" /* for JSON_EXPORT */
#ifdef __cplusplus
extern "C" {
#endif
JSON_EXPORT char *_json_c_strerror(int errno_in);
#ifndef STRERROR_OVERRIDE_IMPL
#define strerror _json_c_strerror
#else
#include <string.h>
#endif
#ifdef __cplusplus
}
#endif
#endif /* _json_strerror_override_h_ */
Write
Preview
Loading…
Cancel
Save