From 37212d28ea0e865e1cb82528839d98a42944a1cf Mon Sep 17 00:00:00 2001 From: getnamo Date: Wed, 23 Oct 2024 22:12:54 -0700 Subject: [PATCH] potential fix for #441 --- SocketIOClient.uplugin | 2 +- Source/CoreUtility/Public/CUOpusCoder.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/SocketIOClient.uplugin b/SocketIOClient.uplugin index 039205b..cb7dabc 100644 --- a/SocketIOClient.uplugin +++ b/SocketIOClient.uplugin @@ -1,7 +1,7 @@ { "FileVersion": 3, "Version": 1, - "VersionName": "2.8.2", + "VersionName": "2.8.3", "EngineVersion": "5.4", "FriendlyName": "Socket.IO Client", "Description": "Real-time WebSocket networking via Socket.IO protocol usable from blueprints and c++.", diff --git a/Source/CoreUtility/Public/CUOpusCoder.h b/Source/CoreUtility/Public/CUOpusCoder.h index d6ce5f5..4ba47ff 100644 --- a/Source/CoreUtility/Public/CUOpusCoder.h +++ b/Source/CoreUtility/Public/CUOpusCoder.h @@ -4,7 +4,9 @@ #include "CoreMinimal.h" -#define WITH_OPUS (PLATFORM_WINDOWS || PLATFORM_UNIX || PLATFORM_ANDROID) +#ifndef WITH_OPUS + #define WITH_OPUS (PLATFORM_WINDOWS || PLATFORM_UNIX || PLATFORM_ANDROID) +#endif #if WITH_OPUS #include "ThirdParty/libOpus/opus-1.1/include/opus.h"