Skip to content

Commit

Permalink
TODO note about winsock porting.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-heasly committed Apr 17, 2024
1 parent 2443086 commit 68f37bc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Source/UDPEventsPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,17 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

// TODO: some winsock porting is necessarey after all
// https://learn.microsoft.com/en-us/windows/win32/winsock/porting-socket-applications-to-winsock
#ifdef WIN32
#include <winsock2.h>
#else
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <poll.h>
#include <unistd.h>
#endif

#include "UDPEventsPlugin.h"
#include "UDPEventsPluginEditor.h"
Expand Down

0 comments on commit 68f37bc

Please sign in to comment.