Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MaixPy-v1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
MaixPy-v1
Commits
f2ed736b
Commit
f2ed736b
authored
Dec 12, 2015
by
Paul Sokolovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib/utils/printf: Add vsnprintf alias for Clang.
Was reported to break MacOSX build.
parent
36ccdc95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/utils/printf.c
lib/utils/printf.c
+1
-1
No files found.
lib/utils/printf.c
View file @
f2ed736b
...
...
@@ -102,7 +102,7 @@ STATIC void strn_print_strn(void *data, const char *str, size_t len) {
strn_print_env
->
remain
-=
len
;
}
#if
def __GNUC__
#if
defined(__GNUC__) && !defined(__clang__)
// uClibc requires this alias to be defined, or there may be link errors
// when linkings against it statically.
int
__GI_vsnprintf
(
char
*
str
,
size_t
size
,
const
char
*
fmt
,
va_list
ap
)
__attribute__
((
weak
,
alias
(
"vsnprintf"
)));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment