ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev_select.c
(Generate patch)

Comparing libev/ev_select.c (file contents):
Revision 1.15 by root, Tue Nov 6 00:52:33 2007 UTC vs.
Revision 1.16 by root, Tue Nov 6 13:17:55 2007 UTC

27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32/* for broken bsd's */
33#include <sys/time.h>
34#include <sys/types.h>
35#include <unistd.h>
36
37/* for unix systems */ 32/* for unix systems */
38#ifndef WIN32 33#ifdef WIN32
34typedef unsigned int uint32_t;
35#else
39# include <sys/select.h> 36# include <sys/select.h>
37# include <inttypes.h>
40#endif 38#endif
41 39
42#include <string.h> 40#include <string.h>
43#include <inttypes.h>
44 41
45static void 42static void
46select_modify (EV_P_ int fd, int oev, int nev) 43select_modify (EV_P_ int fd, int oev, int nev)
47{ 44{
48 int offs = fd >> 3; 45 int offs = fd >> 3;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines