Forgot error_string.h/cc from previous commit

This commit is contained in:
Joe Thornber
2015-01-17 10:22:57 +00:00
parent 25b4b526f4
commit 408b38a0f8
2 changed files with 55 additions and 0 deletions

16
base/error_string.h Normal file
View 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