summaryrefslogtreecommitdiff
path: root/modules/webrtc/webrtc_peer_connection.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-08-29 13:00:32 +0200
committerGitHub <noreply@github.com>2022-08-29 13:00:32 +0200
commit322c812231fa28e72a7a316088a1dd6775e96f94 (patch)
tree0ee981f72cd500614c4079f0e2b6f731abe4a4ee /modules/webrtc/webrtc_peer_connection.cpp
parent583c0c4897ca7ba669ab78d397fc894b718613ce (diff)
parentd20b32186fc192f5e527a1211291b0cb293f4e66 (diff)
Merge pull request #65023 from Faless/js/4.x_is_web
Diffstat (limited to 'modules/webrtc/webrtc_peer_connection.cpp')
-rw-r--r--modules/webrtc/webrtc_peer_connection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/webrtc/webrtc_peer_connection.cpp b/modules/webrtc/webrtc_peer_connection.cpp
index 75716017d7..d885b9262b 100644
--- a/modules/webrtc/webrtc_peer_connection.cpp
+++ b/modules/webrtc/webrtc_peer_connection.cpp
@@ -30,7 +30,7 @@
#include "webrtc_peer_connection.h"
-#ifdef JAVASCRIPT_ENABLED
+#ifdef WEB_ENABLED
#include "webrtc_peer_connection_js.h"
#endif
@@ -44,7 +44,7 @@ void WebRTCPeerConnection::set_default_extension(const StringName &p_extension)
}
WebRTCPeerConnection *WebRTCPeerConnection::create() {
-#ifdef JAVASCRIPT_ENABLED
+#ifdef WEB_ENABLED
return memnew(WebRTCPeerConnectionJS);
#else
if (default_extension == String()) {