ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/truck/Common/posix.cpp
Revision: 11
Committed: 2007-05-07T16:55:52-07:00 (15 years, 6 months ago) by douglas
File size: 268 byte(s)
Log Message:
Oops!

File Contents

# User Rev Content
1 douglas 2 // Truck Computer Dooom!
2     //
3     // Douglas Thrift
4     //
5     // $Id$
6    
7     #ifdef _GNU_SOURCE
8     #undef _GNU_SOURCE
9     #endif
10    
11     #define _XOPEN_SOURCE 600
12    
13     #include "posix.hpp"
14    
15     namespace Posix
16     {
17    
18     Error::Error() : code(errno)
19     {
20     CheckError(::strerror_r(code, message, sizeof (message)));
21     }
22    
23     }

Properties

Name Value
svn:keywords Id