Fix unused function warnings

This commit is contained in:
Léo Lam 2016-10-22 19:13:49 +02:00
parent 68156a02ed
commit 1233697b2f
2 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,7 @@
namespace Common
{
#if !defined(_WIN32)
#if !defined(_WIN32) && defined(_M_X86_64) && !defined(MAP_32BIT)
#include <unistd.h>
static uintptr_t RoundPage(uintptr_t addr)
{

View File

@ -122,6 +122,7 @@ bool CEXIETHERNET::SendFrame(const u8* frame, u32 size)
#endif
}
#ifdef __linux__
static void ReadThreadHandler(CEXIETHERNET* self)
{
while (!self->readThreadShutdown.IsSet())
@ -150,6 +151,7 @@ static void ReadThreadHandler(CEXIETHERNET* self)
}
}
}
#endif
bool CEXIETHERNET::RecvInit()
{