Forgot error_string.h/cc from previous commit
This commit is contained in:
16
base/error_string.h
Normal file
16
base/error_string.h
Normal file
@ -0,0 +1,16 @@
|
||||
#ifndef BASE_ERROR_STRING_H
|
||||
#define BASE_ERROR_STRING_H
|
||||
|
||||
#include <string>
|
||||
|
||||
//----------------------------------------------------------------
|
||||
|
||||
namespace base {
|
||||
// There are a couple of version of strerror_r kicking around, so
|
||||
// we wrap it.
|
||||
std::string error_string(int err);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user