Files
nfsclient_win95_win98/include/compat.hpp

25 lines
422 B
C++

#ifndef RETRONFS95_COMPAT_HPP
#define RETRONFS95_COMPAT_HPP
#include <string>
#include <vector>
#include <stdexcept>
#include <stdint.h>
namespace retronfs {
typedef unsigned char byte;
typedef std::vector<byte> Bytes;
class Error : public std::runtime_error {
public:
explicit Error(const std::string& msg) : std::runtime_error(msg) {}
};
std::string format_error(const std::string& what, int code);
}
#endif