projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: strerror_r behavior is glibc specific
[babeltrace.git]
/
include
/
babeltrace
/
compat
/
string.h
diff --git
a/include/babeltrace/compat/string.h
b/include/babeltrace/compat/string.h
index 7a574e679d207f4a03549e9f2ddce1751c2ae210..609261613fe8d4d3d75ed833b02bb8404929ae6a 100644
(file)
--- a/
include/babeltrace/compat/string.h
+++ b/
include/babeltrace/compat/string.h
@@
-26,7
+26,7
@@
#include <string.h>
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
-#if !defined(__
linux
__) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !defined(_GNU_SOURCE))
+#if !defined(__
GLIBC
__) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !defined(_GNU_SOURCE))
/* XSI-compliant strerror_r */
static inline
/* XSI-compliant strerror_r */
static inline
This page took
0.023526 seconds
and
4
git commands to generate.