/*
Created on: Sep 15, 2018
Copyright 2018 flyinghead
This file is part of reicast.
reicast is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
reicast is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with reicast. If not, see .
*/
#if defined(_WIN32) && !defined(FD_SETSIZE)
/* The pico thread waits on all of its sockets at once; Winsock's own
* limit for a select() is 64. */
#define FD_SETSIZE 256
#endif
#if !defined(_MSC_VER) && !defined(TARGET_NO_THREADS)
#include "stdclass.h"
#include "hw/sh4/sh4_sched.h"
#ifdef __MINGW32__
#define _POSIX_SOURCE
#endif
#ifdef __LIBRETRO__
#include
#endif
extern "C" {
#include
#include
#include
#include
#include
#include
#include
}
#include "network/net_platform.h"
#include "types.h"
#include "picoppp.h"
#include "netservice.h"
#include "netthread.h"
#include "network/miniupnp.h"
#include "reios/reios.h"
#include