Add Unix network impl for Android

This commit is contained in:
Wojtek Figat
2021-03-22 11:23:25 +01:00
parent 78f8066d4d
commit 39a6d0d292
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
#pragma once
@@ -13,7 +13,7 @@
#elif PLATFORM_XBOX_SCARLETT
#include "Win32/Win32Network.h"
#elif PLATFORM_ANDROID
#include "Base/NetworkBase.h"
#include "Unix/UnixNetwork.h"
#else
#error Missing Network implementation!
#endif

View File

@@ -137,8 +137,8 @@ class AndroidThread;
typedef AndroidThread Thread;
class AndroidWindow;
typedef AndroidWindow Window;
class NetworkBase;
typedef NetworkBase Network;
class UnixNetwork;
typedef UnixNetwork Network;
#else