mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 18:55:10 +01:00
Merge pull request #4228 from bluca/update_wepoll
Problem: wepoll is out of date, known issues on Windows
This commit is contained in:
commit
1d2e972876
2
external/wepoll/license.txt
vendored
2
external/wepoll/license.txt
vendored
@ -1,7 +1,7 @@
|
|||||||
wepoll - epoll for Windows
|
wepoll - epoll for Windows
|
||||||
https://github.com/piscisaureus/wepoll
|
https://github.com/piscisaureus/wepoll
|
||||||
|
|
||||||
Copyright 2012-2018, Bert Belder <bertbelder@gmail.com>
|
Copyright 2012-2020, Bert Belder <bertbelder@gmail.com>
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
2
external/wepoll/version.txt
vendored
2
external/wepoll/version.txt
vendored
@ -1 +1 @@
|
|||||||
https://github.com/piscisaureus/wepoll/tree/v1.5.4
|
https://github.com/piscisaureus/wepoll/tree/v1.5.8
|
||||||
|
953
external/wepoll/wepoll.c
vendored
953
external/wepoll/wepoll.c
vendored
File diff suppressed because it is too large
Load Diff
6
external/wepoll/wepoll.h
vendored
6
external/wepoll/wepoll.h
vendored
@ -2,7 +2,7 @@
|
|||||||
* wepoll - epoll for Windows
|
* wepoll - epoll for Windows
|
||||||
* https://github.com/piscisaureus/wepoll
|
* https://github.com/piscisaureus/wepoll
|
||||||
*
|
*
|
||||||
* Copyright 2012-2018, Bert Belder <bertbelder@gmail.com>
|
* Copyright 2012-2020, Bert Belder <bertbelder@gmail.com>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -38,8 +38,6 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/* clang-format off */
|
|
||||||
|
|
||||||
enum EPOLL_EVENTS {
|
enum EPOLL_EVENTS {
|
||||||
EPOLLIN = (int) (1U << 0),
|
EPOLLIN = (int) (1U << 0),
|
||||||
EPOLLPRI = (int) (1U << 1),
|
EPOLLPRI = (int) (1U << 1),
|
||||||
@ -72,8 +70,6 @@ enum EPOLL_EVENTS {
|
|||||||
#define EPOLL_CTL_MOD 2
|
#define EPOLL_CTL_MOD 2
|
||||||
#define EPOLL_CTL_DEL 3
|
#define EPOLL_CTL_DEL 3
|
||||||
|
|
||||||
/* clang-format on */
|
|
||||||
|
|
||||||
typedef void* HANDLE;
|
typedef void* HANDLE;
|
||||||
typedef uintptr_t SOCKET;
|
typedef uintptr_t SOCKET;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user