Sign in
apache
/
hawq
/
refs/heads/HAWQ-1535
/
.
/
depends
/
libhdfs3
/
CMake
/
CMakeTestCompileStrerror.cpp
blob: 0ef4eda583e1e13480ce9aa8c8d9ac3c29421639 [
file
] [
log
] [
blame
]
#include
<string.h>
int
main
()
{
// We can't test "char *p = strerror_r()" because that only causes a
// compiler warning when strerror_r returns an integer.
char
*
buf
=
0
;
int
i
=
strerror_r
(
0
,
buf
,
100
);
return
i
;
}