Add OpenBSD to the list of Unixes declaring CEXIETHERNET.

This commit is contained in:
Anthony J. Bentley 2016-07-17 04:11:55 -06:00
parent de6babb928
commit cdf62dece3
1 changed files with 3 additions and 2 deletions

View File

@ -327,11 +327,12 @@ public:
OVERLAPPED mWriteOverlapped; OVERLAPPED mWriteOverlapped;
std::vector<u8> mWriteBuffer; std::vector<u8> mWriteBuffer;
bool mWritePending; bool mWritePending;
#elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) #elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
int fd; int fd;
#endif #endif
#if defined(WIN32) || defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) #if defined(WIN32) || defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || \
defined(__OpenBSD__)
std::thread readThread; std::thread readThread;
Common::Flag readEnabled; Common::Flag readEnabled;
Common::Flag readThreadShutdown; Common::Flag readThreadShutdown;