X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fwin32poll.h;fp=source%2Fcore%2Fwin32poll.h;h=0000000000000000000000000000000000000000;hb=fe77fc6b869a71bf94d501a0762579f4ddbc5094;hp=f39d53e199e4263eb973d9403a16b57e291ae74d;hpb=7292f4413397b7f2e4689f7597f4b9e73435352e;p=libs%2Fcore.git diff --git a/source/core/win32poll.h b/source/core/win32poll.h deleted file mode 100644 index f39d53e..0000000 --- a/source/core/win32poll.h +++ /dev/null @@ -1,29 +0,0 @@ -/* -This file is part of libmspframework -Copyright © 2006 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ -#ifndef MSP_FRAMEWORK_WIN32POLL_H_ -#define MSP_FRAMEWORK_WIN32POLL_H_ - -#ifdef WIN32 -// From Linux sys/poll.h -struct pollfd -{ - int fd; /* File descriptor to poll. */ - short int events; /* Types of events poller cares about. */ - short int revents; /* Types of events that actually occurred. */ -}; - -#ifndef POLLIN -// From Linux pth.h -#define POLLIN 0x0001 /* any readable data available */ -#endif - -#ifndef POLLNVAL -// From Linux pth.h -#define POLLNVAL 0x0020 /* requested events "invalid" */ -#endif - -#endif // Win32 -#endif